We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a56dd29 commit 8ee1719Copy full SHA for 8ee1719
src/router/spinRoute.js
@@ -1,9 +1,9 @@
1
/*
2
使vue-router懒加载时可以显示一个加载提示,避免网速慢时无响应
3
用法:
4
-const stage3 = () => {
5
- spinRoute.show();
6
- return import('../views/stage3/stage3.vue').then(spinRoute.resolve);
+const route = {
+ path: '/page-layout',
+ component: () => spinRoute.require(import('./pageLayout/pageLayout.vue'))
7
};
8
*/
9
0 commit comments