查看“︁JavaScript/vue.js/error”︁的源代码
来自康健生活
←
JavaScript/vue.js/error
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
== 标题文字 == * Cannot assign to read only property 'exports' of object '#<Object>' *: js 可以混用 require、export。但是不能混用import、module.exports * Unknown custom element: <el-menu> - did you register the component correctly *: 没有引用 element-ui *: <syntaxhighlight lang="javascript"> import ElementUI from 'element-ui'; //element-ui的全部组件 Vue.use(ElementUI); //使用elementUI</syntaxhighlight> * 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,在使用 elementui 时出现错误,按需子组件 vue 页面加载即可 *: <syntaxhighlight lang="javascript"> import {Menu, Submenu, MenuItem, MenuItemGroup} from 'element-ui'; Vue.use(Menu); Vue.use(Submenu); Vue.use(MenuItem); Vue.use(MenuItemGroup);</syntaxhighlight>
此页面嵌入的页面:
模板:Hc
(
查看源代码
)
模板:Hc/style.css
(
查看源代码
)
返回
JavaScript/vue.js/error
。
导航菜单
康健生活
搜索
user-page
通知
user-interface-preferences
个人工具
登录
五一
多读书,多运动,多到远处走走,再看看不一样的世界。