JavaScript/vue.js/error:修订间差异
来自康健生活
| 第8行: | 第8行: | ||
Vue.use(ElementUI); //使用elementUI</syntaxhighlight> | Vue.use(ElementUI); //使用elementUI</syntaxhighlight> | ||
* Invalid prop: type check failed for prop "collapseTransition". Expected Boolean, got String with value "false". | * Invalid prop: type check failed for prop "collapseTransition". Expected Boolean, got String with value "false". | ||
*: 类型错误,加<code>:</code>即可 | |||
*: <syntaxhighlight lang="html"> | |||
:collapse-transition="false"</syntaxhighlight> | |||
* TypeError: Cannot read property 'openedMenus' of undefined | |||