From ffbe761138e01deb5ed4f60533801170063ea520 Mon Sep 17 00:00:00 2001 From: zhl Date: Tue, 20 Apr 2021 09:44:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E5=BA=97=E9=93=BA=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E7=9A=84=E7=9B=B8=E5=85=B3=E6=93=8D=E4=BD=9C=E7=A7=BB=E8=87=B3?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/shop.ts | 31 ------------------------------- src/router/modules/system.ts | 31 +++++++++++++++++++++++++++++++ src/views/shop/list.vue | 6 +++--- 3 files changed, 34 insertions(+), 34 deletions(-) diff --git a/src/router/modules/shop.ts b/src/router/modules/shop.ts index fd68254..a96530b 100644 --- a/src/router/modules/shop.ts +++ b/src/router/modules/shop.ts @@ -10,37 +10,6 @@ const shopRoutes: RouteConfig = { alwaysShow: true }, children: [ - { - path: 'list', - component: () => import('@/views/shop/list.vue'), - name: 'ShopList', - meta: { - title: 'shop_list', - permissions: ['shop:read'], - icon: 'shop_list' - } - }, - { - path: 'create', - component: () => import('@/views/shop/edit.vue'), - name: 'CreateShop', - meta: { - title: 'create_shop', - icon: 'edit', - hidden: true - } - }, - { - path: 'edit/:id', - component: () => import('@/views/shop/edit.vue'), - name: 'ShopEditor', - meta: { - title: 'shop_edit', - permissions: ['shop:read'], - elicon: 'el-icon-arrow-right', - hidden: true - } - }, { path: 'setting', component: () => import('@/views/shop/game_setting.vue'), diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 2681620..2ffcb38 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -31,6 +31,37 @@ const systemRoutes: RouteConfig = { icon: 'admin' } }, + { + path: 'list', + component: () => import('@/views/shop/list.vue'), + name: 'ShopList', + meta: { + title: 'shop_list', + permissions: ['shop:read'], + icon: 'shop_list' + } + }, + { + path: 'create', + component: () => import('@/views/shop/edit.vue'), + name: 'CreateShop', + meta: { + title: 'create_shop', + icon: 'edit', + hidden: true + } + }, + { + path: 'edit/:id', + component: () => import('@/views/shop/edit.vue'), + name: 'ShopEditor', + meta: { + title: 'shop_edit', + permissions: ['shop:read'], + elicon: 'el-icon-arrow-right', + hidden: true + } + }, { path: 'i18n', component: () => import(/* webpackChunkName: "i18n-demo" */ '@/views/i18n-demo/index.vue'), diff --git a/src/views/shop/list.vue b/src/views/shop/list.vue index 0017c5b..845704a 100644 --- a/src/views/shop/list.vue +++ b/src/views/shop/list.vue @@ -11,7 +11,7 @@ 重置 - +