Vue Property or method "" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based
copyright : {{ corpright }}
main.js
new Vue({ el: '#app', data:{ corpright:"wf" }, methods:{ a:function(){ return 'afei'; } }, render: h => h(App), }).$mount('#app')
刷新页面不显示{{ corpright }}
<script> export default { name: 'hello', data () { return { corpright: 'afei export default' } }, methods: { } } </script>
显示出来了
文字均为博主原创,转载请联系博主,谢谢!