问题:使用element-ui的message-box时候,刚刚进入页面,刷新就默认显示出了部分message-box中的内容
解决方案:引入组件的时候不要用Vue.use(MessageBox),而是挂载到原型上Vue.prototype.$msgbox = MessageBox;
element ui出现的问题
最新推荐文章于 2024-01-27 19:25:07 发布
问题:使用element-ui的message-box时候,刚刚进入页面,刷新就默认显示出了部分message-box中的内容
解决方案:引入组件的时候不要用Vue.use(MessageBox),而是挂载到原型上Vue.prototype.$msgbox = MessageBox;