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
//client.js import store from '../../../store' App.render = options => { Vue.prototype.$http = require('axios'); if (options.store) { options.store.replaceState(App.data()); } else if (window.__INITIAL_STATE__) { options.data = Object.assign(window.__INITIAL_STATE__, options.data && options.data()); } options.store=store const app = new Vue(options); app.$mount('#app'); };
computed:{ loading:function () { return this.$store.getters.loading } }, 这时控制器报错“Cannot read property 'getters' of undefined”;但能取到值 ============================================= mounted(){ console.log(_this.$store.getters.loading) } 这样就不报错,也能取到值 求解;是不是配置错了
The text was updated successfully, but these errors were encountered:
#41
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: