Przeglądaj źródła

fix: 解决路由名称不匹配问题

zhaonan 14 godzin temu
rodzic
commit
66800c38ad

+ 0 - 3
src/layout/routerView/parent.vue

@@ -47,9 +47,6 @@ const state = reactive<ParentViewState>({
 const menuLeftList = computed(() => { 
 	const parentName = route.path.split('/')[1];
 	const parentRoute = routeStores.routesList.filter((item: RouteItem) => {
-		if(route.path.includes("/admin/log")) {
-			return item.path.includes("/system")
-		}
 		return item.path.includes(parentName)
 	});
 	return parentRoute[0].children || [];

+ 0 - 0
src/views/admin/dict/dictItem/form.vue → src/views/system/dict/dictItem/form.vue


+ 0 - 0
src/views/admin/dict/dictItem/index.vue → src/views/system/dict/dictItem/index.vue


+ 0 - 0
src/views/admin/dict/form.vue → src/views/system/dict/form.vue


+ 0 - 0
src/views/admin/dict/i18n/en.ts → src/views/system/dict/i18n/en.ts


+ 0 - 0
src/views/admin/dict/i18n/zh-cn.ts → src/views/system/dict/i18n/zh-cn.ts


+ 0 - 0
src/views/admin/dict/index.vue → src/views/system/dict/index.vue


+ 0 - 0
src/views/admin/file/form.vue → src/views/system/file/form.vue


+ 0 - 0
src/views/admin/file/i18n/en.ts → src/views/system/file/i18n/en.ts


+ 0 - 0
src/views/admin/file/i18n/zh-cn.ts → src/views/system/file/i18n/zh-cn.ts


+ 0 - 0
src/views/admin/file/index.vue → src/views/system/file/index.vue


+ 0 - 0
src/views/admin/log/detail.vue → src/views/system/logs/detail.vue


+ 0 - 0
src/views/admin/log/i18n/en.ts → src/views/system/logs/i18n/en.ts


+ 0 - 0
src/views/admin/log/i18n/zh-cn.ts → src/views/system/logs/i18n/zh-cn.ts


+ 0 - 0
src/views/admin/log/index.vue → src/views/system/logs/index.vue


+ 0 - 0
src/views/admin/param/form.vue → src/views/system/param/form.vue


+ 0 - 0
src/views/admin/param/i18n/en.ts → src/views/system/param/i18n/en.ts


+ 0 - 0
src/views/admin/param/i18n/zh-cn.ts → src/views/system/param/i18n/zh-cn.ts


+ 0 - 0
src/views/admin/param/index.vue → src/views/system/param/index.vue