vue——报错:Cannot read property '__ob__' of undefined
我的原因:引入组件后未注册
<script> import ComFirst from "../../components/ComFirst.vue" import ComSecond from "../../components/ComSecond.vue" export default { name: 'VueFirst', data() { return {} }, components: { //<<这一步未做 ComFirst, ComSecond }, } </script>