diff --git a/src/icons/components/admin.ts b/src/icons/components/admin.ts new file mode 100644 index 0000000..230be39 --- /dev/null +++ b/src/icons/components/admin.ts @@ -0,0 +1,12 @@ +/* eslint-disable */ +/* tslint:disable */ +// @ts-ignore +import icon from 'vue-svgicon' +icon.register({ + 'admin': { + width: 64, + height: 64, + viewBox: '0 0 1024 1024', + data: '' + } +}) diff --git a/src/icons/components/game.ts b/src/icons/components/game.ts new file mode 100644 index 0000000..fafe1b5 --- /dev/null +++ b/src/icons/components/game.ts @@ -0,0 +1,12 @@ +/* eslint-disable */ +/* tslint:disable */ +// @ts-ignore +import icon from 'vue-svgicon' +icon.register({ + 'game': { + width: 64, + height: 64, + viewBox: '0 0 1024 1024', + data: '' + } +}) diff --git a/src/icons/components/index.ts b/src/icons/components/index.ts index 81f05e0..9719b02 100644 --- a/src/icons/components/index.ts +++ b/src/icons/components/index.ts @@ -1,5 +1,6 @@ /* tslint:disable */ import './404' +import './admin' import './back-top' import './bug' import './chart' @@ -18,6 +19,7 @@ import './eye-off' import './eye-on' import './form' import './fullscreen' +import './game' import './guide-2' import './guide' import './hamburger' @@ -37,6 +39,7 @@ import './people' import './peoples' import './qq' import './question_list' +import './role' import './search' import './sell' import './shop' diff --git a/src/icons/components/role.ts b/src/icons/components/role.ts new file mode 100644 index 0000000..730c206 --- /dev/null +++ b/src/icons/components/role.ts @@ -0,0 +1,12 @@ +/* eslint-disable */ +/* tslint:disable */ +// @ts-ignore +import icon from 'vue-svgicon' +icon.register({ + 'role': { + width: 64, + height: 64, + viewBox: '0 0 1024 1024', + data: '' + } +}) diff --git a/src/icons/svg/admin.svg b/src/icons/svg/admin.svg new file mode 100644 index 0000000..5957613 --- /dev/null +++ b/src/icons/svg/admin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/game.svg b/src/icons/svg/game.svg new file mode 100644 index 0000000..a78a4a7 --- /dev/null +++ b/src/icons/svg/game.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/role.svg b/src/icons/svg/role.svg new file mode 100644 index 0000000..59b1bbd --- /dev/null +++ b/src/icons/svg/role.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/router/modules/shop.ts b/src/router/modules/shop.ts index 5e56f7d..f2bc33a 100644 --- a/src/router/modules/shop.ts +++ b/src/router/modules/shop.ts @@ -17,7 +17,7 @@ const shopRoutes: RouteConfig = { meta: { title: 'game_setting', permissions: ['question:read'], - elicon: 'el-icon-arrow-right' + icon: 'game' } }, ] diff --git a/src/router/modules/system.ts b/src/router/modules/system.ts index 9aba62d..2681620 100644 --- a/src/router/modules/system.ts +++ b/src/router/modules/system.ts @@ -18,7 +18,7 @@ const systemRoutes: RouteConfig = { meta: { title: 'rolePermission', permissions: ['role:read'], - elicon: 'el-icon-arrow-right' + icon: 'role' } }, { @@ -28,7 +28,7 @@ const systemRoutes: RouteConfig = { meta: { title: 'adminuser', permissions: ['adminuser:read'], - elicon: 'el-icon-arrow-right' + icon: 'admin' } }, { @@ -37,7 +37,7 @@ const systemRoutes: RouteConfig = { name: 'I18n', meta: { title: 'i18n', - elicon: 'el-icon-arrow-right' + icon: 'language' } }, { @@ -46,7 +46,7 @@ const systemRoutes: RouteConfig = { name: 'Theme', meta: { title: 'theme', - elicon: 'el-icon-arrow-right' + icon: 'theme' } } ]