We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug in gogocode-plugin-vue 没有转化Vue.extend 转化前后没有任何区别?
Vue.extend
gogocode -s ./src/vue-app-home.js -t gogocode-plugin-vue -o ./src-out/vue-app-home.js
import { hashchangehandler } from './vue-index-render' import { 调整导航栏和主体的距离 } from './调整导航栏和主体的距离' import $ from 'jquery' import * as Vue from 'vue' let App = Vue.extend({ name: 'App', data() { return { isActive1: window.location.hash == '#/' ? true : false, isActive2: window.location.hash == '#/huami' ? true : false, isActive3: window.location.hash == '#/about' ? true : false, } }, methods: { togglecollapsenavbar() { $('#example-navbar-collapse').toggle() }, myfreshdata() { ;(this.isActive1 = window.location.hash === '#/'), (this.isActive2 = window.location.hash === '#/huami'), (this.isActive3 = window.location.hash === '#/about') }, }, mounted() { var initloadele = document.getElementById(initloadingid) initloadele && (initloadele.style.display = 'none') this.myfreshdata() hashchangehandler() $('#mynavul').on('click', hashchangehandler) // $("#my主体").css("padding-top", $("#my导航栏").height()); // requestAnimationFrame(() => { // $("#my主体").css("padding-top", $("#my导航栏").height()); // }); // let timer = setInterval(() => { // $("#my主体").css("padding-top", $("#my导航栏").height()); // //console.log($("#my导航栏").height()); // }, 0); // setTimeout(() => { // $("#my主体").css("padding-top", $("#my导航栏").height()); // //console.log($("#my导航栏").height()); // clearInterval(timer); // }, 1000); 调整导航栏和主体的距离() }, }) export default App import { initloadingid } from './initloadingid.ts'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
bug in gogocode-plugin-vue
没有转化
Vue.extend
转化前后没有任何区别?
The text was updated successfully, but these errors were encountered: