
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 · 142 阅读 · 0 评论 -
vue 实用小知识点
1.安装环境cnpm install -g vue-cli(安装全局脚手架)vue init webpack domecnpm installcd domecnpm run dev2.一个组件的三步骤import的引入组件在template里面加载组件视图在data()后面创建组件名3.如何解决组件名与h5标签冲突问题<app-header/>appHeade...原创 2018-12-26 15:28:39 · 233 阅读 · 0 评论 -
vue-router.esm.js?fe87:16 [vue-router] Duplicate named routes definition:
解决办法原创 2018-12-26 11:53:32 · 9995 阅读 · 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 · 263 阅读 · 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 · 7009 阅读 · 0 评论 -
[Vue warn]: Unknown custom element: <son> - did you register the component correctly? For recursive
出现这个错误的原因 检查一下你引入的组件里面是否在components里面写入子组件原创 2019-07-01 09:05:19 · 5535 阅读 · 0 评论 -
子传父中,[Vue warn]: Error in v-on handler: "ReferenceError: msg is not defined"
错误的原因 有可能是 父元素接受数据的时候没有传参数原创 2019-07-01 10:38:22 · 19625 阅读 · 0 评论