如题,我在使用iview的loadingbar之后无法加载loadingbar并且页面显示不出来,下面是代码,加载在plugins/iview.js的文件中
import Vue from 'vue' import iView from 'view-design' import 'iview/dist/styles/iview.css' Vue.use(iView) export default ({ app }) => { app.router.beforeEach((to, from, next) => { iView.LoadingBar.start(); next(); }); app.router.afterEach(route => { ViewUI.LoadingBar.finish(); }); }
下面是错误
待解决
悬赏分:70
- 离问题结束还有 57天13小时6秒
点赞 0反对 0举报 0
收藏 0
分享 3
