ci: 🎡 更新包
This commit is contained in:
parent
6aaa950be3
commit
0147bdbd08
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"i18n-ally.localesPaths": [
|
||||||
|
"src/store/i18n",
|
||||||
|
"src/views/i18n"
|
||||||
|
]
|
||||||
|
}
|
|
@ -17,7 +17,7 @@ export const serverOptions = (mode: string) => {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: VITE_APP_URL,
|
target: VITE_APP_URL,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path: string) => path.replace(/^\/admin/, '/api'),
|
rewrite: (path: string) => path.replace(/^\/api/, '/api'),
|
||||||
},
|
},
|
||||||
'/mock': {
|
'/mock': {
|
||||||
target: VITE_APP_URL,
|
target: VITE_APP_URL,
|
||||||
|
|
28
package.json
28
package.json
|
@ -1,31 +1,9 @@
|
||||||
{
|
{
|
||||||
"name": "bunny-admin-web",
|
"name": "bunny-admin-web",
|
||||||
"version": "2.9.4",
|
"version": "3.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"keywords": [
|
|
||||||
"element-plus",
|
|
||||||
"tailwindcss",
|
|
||||||
"typescript",
|
|
||||||
"pinia",
|
|
||||||
"vue3",
|
|
||||||
"vite",
|
|
||||||
"esm"
|
|
||||||
],
|
|
||||||
"homepage": "https://github.com/BunnyMaster/bunny-admin-web",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/BunnyMaster/bunny-admin-web"
|
|
||||||
},
|
|
||||||
"bugs": {
|
|
||||||
"url": "https://github.com/BunnyMaster/bunny-admin-web/issues"
|
|
||||||
},
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": {
|
|
||||||
"name": "Bunny0212",
|
|
||||||
"email": "1319900154@qq.com",
|
|
||||||
"url": "https://github.com/BunnyMaster"
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "NODE_OPTIONS=--max-old-space-size=4096 vite",
|
"dev": "NODE_OPTIONS=--max-old-space-size=4096 vite",
|
||||||
"serve": "pnpm vite",
|
"serve": "pnpm vite",
|
||||||
|
@ -59,7 +37,7 @@
|
||||||
"@wangeditor/editor-for-vue": "^5.1.12",
|
"@wangeditor/editor-for-vue": "^5.1.12",
|
||||||
"@zxcvbn-ts/core": "^3.0.4",
|
"@zxcvbn-ts/core": "^3.0.4",
|
||||||
"animate.css": "^4.1.1",
|
"animate.css": "^4.1.1",
|
||||||
"axios": "^1.7.5",
|
"axios": "1.8.2",
|
||||||
"china-area-data": "^5.0.1",
|
"china-area-data": "^5.0.1",
|
||||||
"cropperjs": "^1.6.2",
|
"cropperjs": "^1.6.2",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.13",
|
||||||
|
@ -93,7 +71,7 @@
|
||||||
"version-rocket": "^1.7.2",
|
"version-rocket": "^1.7.2",
|
||||||
"vite-plugin-vue-inspector": "^5.1.3",
|
"vite-plugin-vue-inspector": "^5.1.3",
|
||||||
"vue": "^3.4.38",
|
"vue": "^3.4.38",
|
||||||
"vue-i18n": "^9.14.0",
|
"vue-i18n": "11.1.2",
|
||||||
"vue-json-pretty": "^2.4.0",
|
"vue-json-pretty": "^2.4.0",
|
||||||
"vue-pdf-embed": "^2.1.0",
|
"vue-pdf-embed": "^2.1.0",
|
||||||
"vue-router": "^4.4.3",
|
"vue-router": "^4.4.3",
|
||||||
|
|
|
@ -45,8 +45,8 @@ importers:
|
||||||
specifier: ^4.1.1
|
specifier: ^4.1.1
|
||||||
version: 4.1.1
|
version: 4.1.1
|
||||||
axios:
|
axios:
|
||||||
specifier: ^1.7.5
|
specifier: 1.8.2
|
||||||
version: 1.7.5
|
version: 1.8.2
|
||||||
china-area-data:
|
china-area-data:
|
||||||
specifier: ^5.0.1
|
specifier: ^5.0.1
|
||||||
version: 5.0.1
|
version: 5.0.1
|
||||||
|
@ -147,8 +147,8 @@ importers:
|
||||||
specifier: ^3.4.38
|
specifier: ^3.4.38
|
||||||
version: 3.4.38(typescript@5.5.4)
|
version: 3.4.38(typescript@5.5.4)
|
||||||
vue-i18n:
|
vue-i18n:
|
||||||
specifier: ^9.14.0
|
specifier: 11.1.2
|
||||||
version: 9.14.0(vue@3.4.38(typescript@5.5.4))
|
version: 11.1.2(vue@3.4.38(typescript@5.5.4))
|
||||||
vue-json-pretty:
|
vue-json-pretty:
|
||||||
specifier: ^2.4.0
|
specifier: ^2.4.0
|
||||||
version: 2.4.0(vue@3.4.38(typescript@5.5.4))
|
version: 2.4.0(vue@3.4.38(typescript@5.5.4))
|
||||||
|
@ -218,7 +218,7 @@ importers:
|
||||||
version: 4.1.2(vue@3.4.38(typescript@5.5.4))
|
version: 4.1.2(vue@3.4.38(typescript@5.5.4))
|
||||||
'@intlify/unplugin-vue-i18n':
|
'@intlify/unplugin-vue-i18n':
|
||||||
specifier: ^4.0.0
|
specifier: ^4.0.0
|
||||||
version: 4.0.0(rollup@4.21.1)(vue-i18n@9.14.0(vue@3.4.38(typescript@5.5.4)))
|
version: 4.0.0(rollup@4.21.1)(vue-i18n@11.1.2(vue@3.4.38(typescript@5.5.4)))
|
||||||
'@pureadmin/theme':
|
'@pureadmin/theme':
|
||||||
specifier: ^3.2.0
|
specifier: ^3.2.0
|
||||||
version: 3.2.0
|
version: 3.2.0
|
||||||
|
@ -1029,14 +1029,22 @@ packages:
|
||||||
vue-i18n:
|
vue-i18n:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@intlify/core-base@9.14.0':
|
'@intlify/core-base@11.1.2':
|
||||||
resolution: {integrity: sha512-zJn0imh9HIsZZUtt9v8T16PeVstPv6bP2YzlrYJwoF8F30gs4brZBwW2KK6EI5WYKFi3NeqX6+UU4gniz5TkGg==}
|
resolution: {integrity: sha512-nmG512G8QOABsserleechwHGZxzKSAlggGf9hQX0nltvSwyKNVuB/4o6iFeG2OnjXK253r8p8eSDOZf8PgFdWw==}
|
||||||
|
engines: {node: '>= 16'}
|
||||||
|
|
||||||
|
'@intlify/message-compiler@11.1.2':
|
||||||
|
resolution: {integrity: sha512-T/xbNDzi+Yv0Qn2Dfz2CWCAJiwNgU5d95EhhAEf4YmOgjCKktpfpiUSmLcBvK1CtLpPQ85AMMQk/2NCcXnNj1g==}
|
||||||
engines: {node: '>= 16'}
|
engines: {node: '>= 16'}
|
||||||
|
|
||||||
'@intlify/message-compiler@9.14.0':
|
'@intlify/message-compiler@9.14.0':
|
||||||
resolution: {integrity: sha512-sXNsoMI0YsipSXW8SR75drmVK56tnJHoYbPXUv2Cf9lz6FzvwsosFm6JtC1oQZI/kU+n7qx0qRrEWkeYFTgETA==}
|
resolution: {integrity: sha512-sXNsoMI0YsipSXW8SR75drmVK56tnJHoYbPXUv2Cf9lz6FzvwsosFm6JtC1oQZI/kU+n7qx0qRrEWkeYFTgETA==}
|
||||||
engines: {node: '>= 16'}
|
engines: {node: '>= 16'}
|
||||||
|
|
||||||
|
'@intlify/shared@11.1.2':
|
||||||
|
resolution: {integrity: sha512-dF2iMMy8P9uKVHV/20LA1ulFLL+MKSbfMiixSmn6fpwqzvix38OIc7ebgnFbBqElvghZCW9ACtzKTGKsTGTWGA==}
|
||||||
|
engines: {node: '>= 16'}
|
||||||
|
|
||||||
'@intlify/shared@9.14.0':
|
'@intlify/shared@9.14.0':
|
||||||
resolution: {integrity: sha512-r+N8KRQL7LgN1TMTs1A2svfuAU0J94Wu9wWdJVJqYsoMMLIeJxrPjazihfHpmJqfgZq0ah3Y9Q4pgWV2O90Fyg==}
|
resolution: {integrity: sha512-r+N8KRQL7LgN1TMTs1A2svfuAU0J94Wu9wWdJVJqYsoMMLIeJxrPjazihfHpmJqfgZq0ah3Y9Q4pgWV2O90Fyg==}
|
||||||
engines: {node: '>= 16'}
|
engines: {node: '>= 16'}
|
||||||
|
@ -1805,8 +1813,8 @@ packages:
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
postcss: ^8.1.0
|
postcss: ^8.1.0
|
||||||
|
|
||||||
axios@1.7.5:
|
axios@1.8.2:
|
||||||
resolution: {integrity: sha512-fZu86yCo+svH3uqJ/yTdQ0QHpQu5oL+/QE+QPSv6BZSkDAoky9vytxp7u5qk83OJFS3kEBcesWni9WTZAv3tSw==}
|
resolution: {integrity: sha512-ls4GYBm5aig9vWx8AWDSGLpnpDQRtWAfrjU+EuytuODrFBkqesN2RkOQCBzrA1RQNHw1SmRMSDDDSwzNAYQ6Rg==}
|
||||||
|
|
||||||
balanced-match@1.0.2:
|
balanced-match@1.0.2:
|
||||||
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
|
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
|
||||||
|
@ -5120,8 +5128,8 @@ packages:
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: '>=6.0.0'
|
eslint: '>=6.0.0'
|
||||||
|
|
||||||
vue-i18n@9.14.0:
|
vue-i18n@11.1.2:
|
||||||
resolution: {integrity: sha512-LxmpRuCt2rI8gqU+kxeflRZMQn4D5+4M3oP3PWZdowW/ePJraHqhF7p4CuaME52mUxdw3Mmy2yAUKgfZYgCRjA==}
|
resolution: {integrity: sha512-MfdkdKGUHN+jkkaMT5Zbl4FpRmN7kfelJIwKoUpJ32ONIxdFhzxZiLTVaAXkAwvH3y9GmWpoiwjDqbPIkPIMFA==}
|
||||||
engines: {node: '>= 16'}
|
engines: {node: '>= 16'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: ^3.0.0
|
vue: ^3.0.0
|
||||||
|
@ -6256,7 +6264,7 @@ snapshots:
|
||||||
'@iconify/types': 2.0.0
|
'@iconify/types': 2.0.0
|
||||||
vue: 3.4.38(typescript@5.5.4)
|
vue: 3.4.38(typescript@5.5.4)
|
||||||
|
|
||||||
'@intlify/bundle-utils@8.0.0(vue-i18n@9.14.0(vue@3.4.38(typescript@5.5.4)))':
|
'@intlify/bundle-utils@8.0.0(vue-i18n@11.1.2(vue@3.4.38(typescript@5.5.4)))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@intlify/message-compiler': 9.14.0
|
'@intlify/message-compiler': 9.14.0
|
||||||
'@intlify/shared': 9.14.0
|
'@intlify/shared': 9.14.0
|
||||||
|
@ -6268,23 +6276,30 @@ snapshots:
|
||||||
source-map-js: 1.2.0
|
source-map-js: 1.2.0
|
||||||
yaml-eslint-parser: 1.2.3
|
yaml-eslint-parser: 1.2.3
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
vue-i18n: 9.14.0(vue@3.4.38(typescript@5.5.4))
|
vue-i18n: 11.1.2(vue@3.4.38(typescript@5.5.4))
|
||||||
|
|
||||||
'@intlify/core-base@9.14.0':
|
'@intlify/core-base@11.1.2':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@intlify/message-compiler': 9.14.0
|
'@intlify/message-compiler': 11.1.2
|
||||||
'@intlify/shared': 9.14.0
|
'@intlify/shared': 11.1.2
|
||||||
|
|
||||||
|
'@intlify/message-compiler@11.1.2':
|
||||||
|
dependencies:
|
||||||
|
'@intlify/shared': 11.1.2
|
||||||
|
source-map-js: 1.2.0
|
||||||
|
|
||||||
'@intlify/message-compiler@9.14.0':
|
'@intlify/message-compiler@9.14.0':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@intlify/shared': 9.14.0
|
'@intlify/shared': 9.14.0
|
||||||
source-map-js: 1.2.0
|
source-map-js: 1.2.0
|
||||||
|
|
||||||
|
'@intlify/shared@11.1.2': {}
|
||||||
|
|
||||||
'@intlify/shared@9.14.0': {}
|
'@intlify/shared@9.14.0': {}
|
||||||
|
|
||||||
'@intlify/unplugin-vue-i18n@4.0.0(rollup@4.21.1)(vue-i18n@9.14.0(vue@3.4.38(typescript@5.5.4)))':
|
'@intlify/unplugin-vue-i18n@4.0.0(rollup@4.21.1)(vue-i18n@11.1.2(vue@3.4.38(typescript@5.5.4)))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@intlify/bundle-utils': 8.0.0(vue-i18n@9.14.0(vue@3.4.38(typescript@5.5.4)))
|
'@intlify/bundle-utils': 8.0.0(vue-i18n@11.1.2(vue@3.4.38(typescript@5.5.4)))
|
||||||
'@intlify/shared': 9.14.0
|
'@intlify/shared': 9.14.0
|
||||||
'@rollup/pluginutils': 5.1.0(rollup@4.21.1)
|
'@rollup/pluginutils': 5.1.0(rollup@4.21.1)
|
||||||
'@vue/compiler-sfc': 3.4.38
|
'@vue/compiler-sfc': 3.4.38
|
||||||
|
@ -6297,7 +6312,7 @@ snapshots:
|
||||||
source-map-js: 1.2.0
|
source-map-js: 1.2.0
|
||||||
unplugin: 1.12.2
|
unplugin: 1.12.2
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
vue-i18n: 9.14.0(vue@3.4.38(typescript@5.5.4))
|
vue-i18n: 11.1.2(vue@3.4.38(typescript@5.5.4))
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- rollup
|
- rollup
|
||||||
- supports-color
|
- supports-color
|
||||||
|
@ -7227,7 +7242,7 @@ snapshots:
|
||||||
postcss: 8.4.41
|
postcss: 8.4.41
|
||||||
postcss-value-parser: 4.2.0
|
postcss-value-parser: 4.2.0
|
||||||
|
|
||||||
axios@1.7.5:
|
axios@1.8.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
follow-redirects: 1.15.6
|
follow-redirects: 1.15.6
|
||||||
form-data: 4.0.0
|
form-data: 4.0.0
|
||||||
|
@ -10669,7 +10684,7 @@ snapshots:
|
||||||
|
|
||||||
version-rocket@1.7.2:
|
version-rocket@1.7.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
axios: 1.7.5
|
axios: 1.8.2
|
||||||
dayjs: 1.11.13
|
dayjs: 1.11.13
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- debug
|
- debug
|
||||||
|
@ -10741,10 +10756,10 @@ snapshots:
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
vue-i18n@9.14.0(vue@3.4.38(typescript@5.5.4)):
|
vue-i18n@11.1.2(vue@3.4.38(typescript@5.5.4)):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@intlify/core-base': 9.14.0
|
'@intlify/core-base': 11.1.2
|
||||||
'@intlify/shared': 9.14.0
|
'@intlify/shared': 11.1.2
|
||||||
'@vue/devtools-api': 6.6.3
|
'@vue/devtools-api': 6.6.3
|
||||||
vue: 3.4.38(typescript@5.5.4)
|
vue: 3.4.38(typescript@5.5.4)
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
// @ts-check
|
// @ts-check
|
||||||
|
|
||||||
/** @type {import('postcss-load-config').Config} */
|
/** @type {import("postcss-load-config").Config} */
|
||||||
export default {
|
export default {
|
||||||
plugins: {
|
plugins: {
|
||||||
"postcss-import": {},
|
'postcss-import': {},
|
||||||
"tailwindcss/nesting": {},
|
'tailwindcss/nesting': {},
|
||||||
tailwindcss: {},
|
tailwindcss: {},
|
||||||
autoprefixer: {},
|
autoprefixer: {},
|
||||||
...(process.env.NODE_ENV === "production" ? { cssnano: {} } : {})
|
...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {}),
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,7 +4,6 @@ import { MotionPlugin } from '@vueuse/motion';
|
||||||
import App from './App.vue';
|
import App from './App.vue';
|
||||||
import { getPlatformConfig } from './config';
|
import { getPlatformConfig } from './config';
|
||||||
import router from './router';
|
import router from './router';
|
||||||
// import { useEcharts } from "@/plugins/echarts";
|
|
||||||
import { useElementPlus } from '@/plugins/elementPlus';
|
import { useElementPlus } from '@/plugins/elementPlus';
|
||||||
import { injectResponsiveStorage } from '@/utils/responsive';
|
import { injectResponsiveStorage } from '@/utils/responsive';
|
||||||
import { createApp, type Directive } from 'vue';
|
import { createApp, type Directive } from 'vue';
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { useRouter } from 'vue-router';
|
|
||||||
import { onBeforeMount, ref } from 'vue';
|
|
||||||
import { Text } from '@/components/Text';
|
import { Text } from '@/components/Text';
|
||||||
import { deviceDetection, useGlobal } from '@pureadmin/utils';
|
|
||||||
import { useDataThemeChange } from '@/layout/hooks/useDataThemeChange';
|
|
||||||
import LaySidebarTopCollapse from '@/layout/components/lay-sidebar/components/SidebarTopCollapse.vue';
|
import LaySidebarTopCollapse from '@/layout/components/lay-sidebar/components/SidebarTopCollapse.vue';
|
||||||
import leftLine from '@iconify-icons/ri/arrow-left-s-line';
|
import { useDataThemeChange } from '@/layout/hooks/useDataThemeChange';
|
||||||
import { $t } from '@/plugins/i18n';
|
import { $t } from '@/plugins/i18n';
|
||||||
import { userInfos } from '@/views/account-settings/utils/hooks';
|
|
||||||
import { panes } from '@/views/account-settings/utils/columns';
|
import { panes } from '@/views/account-settings/utils/columns';
|
||||||
|
import { userInfos } from '@/views/account-settings/utils/hooks';
|
||||||
|
import leftLine from '@iconify-icons/ri/arrow-left-s-line';
|
||||||
|
import { deviceDetection, useGlobal } from '@pureadmin/utils';
|
||||||
|
import { onBeforeMount, ref } from 'vue';
|
||||||
|
import { useRouter } from 'vue-router';
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const isOpen = ref(!deviceDetection());
|
const isOpen = ref(!deviceDetection());
|
||||||
|
@ -28,12 +28,14 @@ onBeforeMount(() => {
|
||||||
class="pure-account-settings overflow-hidden px-2 dark:!bg-[var(--el-bg-color)] border-r-[1px] border-[var(--pure-border-color)]"
|
class="pure-account-settings overflow-hidden px-2 dark:!bg-[var(--el-bg-color)] border-r-[1px] border-[var(--pure-border-color)]"
|
||||||
>
|
>
|
||||||
<el-menu :default-active="witchPane" class="pure-account-settings-menu">
|
<el-menu :default-active="witchPane" class="pure-account-settings-menu">
|
||||||
<el-menu-item class="hover:!transition-all hover:!duration-200 hover:!text-base !h-[50px]" @click="router.go(-1)">
|
<el-menu-item class="!h-[50px]" @click="router.go(-1)">
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
<IconifyIconOffline :icon="leftLine" />
|
<IconifyIconOffline :icon="leftLine" />
|
||||||
<span class="ml-2">{{ $t('back') }}</span>
|
<span class="ml-2">{{ $t('back') }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
<el-button class="ml-2" link type="primary" @click="router.push('/')">{{ $t('returnToHomepage') }}</el-button>
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
|
|
||||||
<div class="flex items-center ml-8 mt-4 mb-4">
|
<div class="flex items-center ml-8 mt-4 mb-4">
|
||||||
<el-avatar :size="48" :src="userInfos.avatar" />
|
<el-avatar :size="48" :src="userInfos.avatar" />
|
||||||
<div class="ml-4 flex flex-col max-w-[130px]">
|
<div class="ml-4 flex flex-col max-w-[130px]">
|
||||||
|
|
|
@ -10,7 +10,7 @@ import EditPen from '@iconify-icons/ep/edit-pen';
|
||||||
import Refresh from '@iconify-icons/ep/refresh';
|
import Refresh from '@iconify-icons/ep/refresh';
|
||||||
import { selectUserinfo } from '@/components/Table/Userinfo/columns';
|
import { selectUserinfo } from '@/components/Table/Userinfo/columns';
|
||||||
import { $t } from '@/plugins/i18n';
|
import { $t } from '@/plugins/i18n';
|
||||||
import { useEmailTemplateStore } from '@/store/configuration/emailTemplate.ts';
|
import { useEmailTemplateStore } from '@/store/configuration/emailTemplate';
|
||||||
import { useRenderIcon } from '@/components/CommonIcon/src/hooks';
|
import { useRenderIcon } from '@/components/CommonIcon/src/hooks';
|
||||||
import { auth } from '@/views/configuration/emailTemplate/utils/auth';
|
import { auth } from '@/views/configuration/emailTemplate/utils/auth';
|
||||||
import { hasAuth } from '@/router/utils';
|
import { hasAuth } from '@/router/utils';
|
||||||
|
|
|
@ -39,12 +39,12 @@ onBeforeMount(() => {
|
||||||
class="pure-account-settings overflow-hidden px-2 dark:!bg-[var(--el-bg-color)] border-r-[1px] border-[var(--pure-border-color)]"
|
class="pure-account-settings overflow-hidden px-2 dark:!bg-[var(--el-bg-color)] border-r-[1px] border-[var(--pure-border-color)]"
|
||||||
>
|
>
|
||||||
<el-menu :default-active="messageTypeStore.form.messageType" class="pure-account-settings-menu">
|
<el-menu :default-active="messageTypeStore.form.messageType" class="pure-account-settings-menu">
|
||||||
<el-menu-item class="!h-[50px]" @click="$router.go(-1)">
|
<el-menu-item class="!h-[50px]" @click="router.go(-1)">
|
||||||
<div class="flex items-center hover:!transition-all hover:!duration-200 hover:!text-base">
|
<div class="flex items-center hover:!transition-all hover:!duration-200 hover:!text-base">
|
||||||
<IconifyIconOffline :icon="leftLine" />
|
<IconifyIconOffline :icon="leftLine" />
|
||||||
<span>{{ $t('back') }}</span>
|
<span>{{ $t('back') }}</span>
|
||||||
</div>
|
</div>
|
||||||
<el-button class="ml-2" link type="primary" @click="$router.push('/')">{{ $t('returnToHomepage') }} </el-button>
|
<el-button class="ml-2" link type="primary" @click="router.push('/')">{{ $t('returnToHomepage') }}</el-button>
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
<el-menu-item
|
<el-menu-item
|
||||||
v-for="item in messageTypeStore.allMessageTypeList"
|
v-for="item in messageTypeStore.allMessageTypeList"
|
||||||
|
|
|
@ -10,7 +10,7 @@ import EditPen from '@iconify-icons/ep/edit-pen';
|
||||||
import Refresh from '@iconify-icons/ep/refresh';
|
import Refresh from '@iconify-icons/ep/refresh';
|
||||||
import { selectUserinfo } from '@/components/Table/Userinfo/columns';
|
import { selectUserinfo } from '@/components/Table/Userinfo/columns';
|
||||||
import { $t } from '@/plugins/i18n';
|
import { $t } from '@/plugins/i18n';
|
||||||
import { useRoleStore } from '@/store/system/role.ts';
|
import { useRoleStore } from '@/store/system/role';
|
||||||
import { useRenderIcon } from '@/components/CommonIcon/src/hooks';
|
import { useRenderIcon } from '@/components/CommonIcon/src/hooks';
|
||||||
import { deviceDetection } from '@pureadmin/utils';
|
import { deviceDetection } from '@pureadmin/utils';
|
||||||
import Menu from '@iconify-icons/ep/menu';
|
import Menu from '@iconify-icons/ep/menu';
|
||||||
|
|
|
@ -22,9 +22,7 @@
|
||||||
"DOM"
|
"DOM"
|
||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": [
|
"@/*": [ "src/*" ],
|
||||||
"src/*"
|
|
||||||
],
|
|
||||||
"@build/*": [
|
"@build/*": [
|
||||||
"build/*"
|
"build/*"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue