fix:sub-gas

This commit is contained in:
wangzenghua 2025-02-27 01:25:24 +00:00
parent f1e6740b0d
commit 73fe382bf8
2 changed files with 3 additions and 77 deletions

View File

@ -13,12 +13,11 @@ import router from './router';
import pinia from './store'; import pinia from './store';
import ElementPlus from 'element-plus'; import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css'; import 'element-plus/dist/index.css';
// import Avue from '@smallwei/avue'; import Avue from '@smallwei/avue';
// import '@smallwei/avue/lib/index.css'; import '@smallwei/avue/lib/index.css';
import { registerDirective } from './directives'; import { registerDirective } from './directives';
import { registerGlobalComponents } from './plugins/globalComponents'; import { registerGlobalComponents } from './plugins/globalComponents';
import { registerElIcons } from './plugins/icon'; import { registerElIcons } from './plugins/icon';
// import { registerMicroApps } from './plugins/micro';
import './utils/permission'; import './utils/permission';
const registerMicroApps = () => { const registerMicroApps = () => {
@ -43,12 +42,8 @@ const registerMicroApps = () => {
}; };
const render = async ({ container }) => { const render = async ({ container }) => {
await new Promise((resolve) => setTimeout(resolve, 1000)); await new Promise((resolve) => setTimeout(resolve, 1000));
// if (!container) {
// console.error('挂载容器不存在');
// return;
// }
app = createApp(App); app = createApp(App);
app.use(pinia).use(router).use(ElementPlus); app.use(pinia).use(router).use(ElementPlus).use(Avue);
registerGlobalComponents(app); registerGlobalComponents(app);
registerElIcons(app); registerElIcons(app);
registerDirective(app); registerDirective(app);

View File

@ -1,69 +0,0 @@
import Layout from '@/layouts/index.vue';
import Views from '@/layouts/Views.vue';
export default [
{
path: '/resource',
name: 'resource',
component: Layout,
redirect: '/grid',
meta: { title: '土地资源管理', icon: 'icon-test' },
children: [
{
path: '/grid',
component: () => import('@/views/resource/grid/index.vue'),
name: 'grid',
meta: { title: '网格化管理', icon: 'Document' },
},
],
},
];
// {
// path: '/resource-info',
// name: 'resource-info-manager',
// component: Views,
// meta: { title: '土地信息管理', icon: 'Document' },
// redirect: '/land',
// children: [
// {
// path: '/land',
// component: () => import('@/views/resource/land/index.vue'),
// name: 'land',
// meta: { title: '土地资源', icon: 'Document' },
// },
// {
// path: '/land-fill',
// name: 'land-fill',
// component: () => import('@/views/resource/land/index.vue'),
// meta: { title: '土地信息填报审核', icon: 'Document' },
// },
// {
// path: '/land-fill-review',
// name: 'land-fill-review',
// component: () => import('@/views/resource/land/index.vue'),
// meta: { title: '土地流转信息填报审核', icon: 'Document' },
// },
// ],
// },
// {
// path: '/land-monitor',
// name: 'land-monitor',
// component: Views,
// meta: { title: '土地监管', icon: 'Document' },
// redirect: '/land-patrol',
// children: [
// {
// path: '/land-patrol',
// component: () => import('@/views/resource/land/index.vue'),
// name: 'land-patrol',
// meta: { title: '土地使用巡查', icon: 'Document' },
// },
// {
// path: '/land-handle',
// name: 'land-handle',
// component: () => import('@/views/resource/land/index.vue'),
// meta: { title: '土地违法处理', icon: 'Document' },
// },
// ],
// },