radon-ui
radon-ui copied to clipboard
引入radon-ui后,在router.beforeEach添加 transition.to.router.app.$Loading.start();报错如下
引入 import { RadonInstall } from 'radon-ui'于main.js中
Vue.use(RadonInstall, { LoadingBar: true }) 在beforeEach中添加loading报错 “ Cannot read property 'router' of undefined” router.beforeEach((transition) => { transition.to.router.app.$Loading.start(); transition.next(); }); 请大神帮忙看看