forked from b2894lxlx/tuanwei-admin
260720
This commit is contained in:
+10
@@ -4,12 +4,18 @@ import store from './store';
|
||||
import router from './router';
|
||||
import permission from './utils/permission';
|
||||
import i18n from './i18n';
|
||||
import {
|
||||
clearChunkRetryFlag,
|
||||
initChunkLoadRetry
|
||||
} from './utils/chunk-load-retry';
|
||||
import './styles/index.less';
|
||||
import VueTianditu from "vue-tianditu"
|
||||
import "vue-tianditu/lib/style.css";
|
||||
import vue3TreeOrg from 'vue3-tree-org';
|
||||
import "vue3-tree-org/lib/vue3-tree-org.css";
|
||||
|
||||
initChunkLoadRetry(router);
|
||||
|
||||
const app = createApp(App);
|
||||
app.use(VueTianditu, {
|
||||
v: "4.0", //目前只支持4.0版本
|
||||
@@ -22,3 +28,7 @@ app.use(i18n);
|
||||
app.use(vue3TreeOrg);
|
||||
|
||||
app.mount('#app');
|
||||
|
||||
router.isReady().then(() => {
|
||||
clearChunkRetryFlag();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user