
vue
xiaoerlang715
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
2021-07-05
子传父:vue.esm.js?efeb:628 [Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop’s value. Prop being mutated: “message” found in 解决方原创 2021-07-05 16:46:31 · 152 阅读 · 0 评论 -
vue 实用小知识点
1.安装环境 cnpm install -g vue-cli(安装全局脚手架) vue init webpack dome cnpm install cd dome cnpm run dev 2.一个组件的三步骤 import的引入组件 在template里面加载组件视图 在data()后面创建组件名 3.如何解决组件名与h5标签冲突问题 <app-header/> appHeade...原创 2018-12-26 15:28:39 · 249 阅读 · 0 评论 -
vue-router.esm.js?fe87:16 [vue-router] Duplicate named routes definition:
解决办法原创 2018-12-26 11:53:32 · 10014 阅读 · 4 评论 -
点餐系统的头部样式vue
上图 布局 <div class="nav"> <router-link to='/goods' class='item-active'>点餐 <i class='line' v-show='ll'></i></router-link> <router-link to='/ratings' class='ite...原创 2019-05-22 06:49:18 · 284 阅读 · 0 评论 -
vue.esm.js?efeb:628 [Vue warn]: Error in render: "TypeError: Cannot read property 'matched' of undef
出现错误的原因是在手写一个vue的路由组件的时候,忘了在new vue 里面写router原创 2019-07-01 08:45:04 · 7026 阅读 · 0 评论 -
[Vue warn]: Unknown custom element: <son> - did you register the component correctly? For recursive
出现这个错误的原因 检查一下你引入的组件里面是否在components里面写入子组件原创 2019-07-01 09:05:19 · 5549 阅读 · 0 评论 -
子传父中,[Vue warn]: Error in v-on handler: "ReferenceError: msg is not defined"
错误的原因 有可能是 父元素接受数据的时候没有传参数原创 2019-07-01 10:38:22 · 19646 阅读 · 0 评论