From 9a71029684f8d3e164700d45332f3a4e6596198d Mon Sep 17 00:00:00 2001 From: vben Date: Sun, 21 Feb 2021 21:42:56 +0800 Subject: [PATCH] chore: update deps --- package.json | 6 ++--- .../Application/src/AppLocalePicker.vue | 1 + src/components/Dropdown/src/Dropdown.vue | 12 +++++++-- src/hooks/web/useFullContent.ts | 1 + src/router/guard/permissionGuard.ts | 2 +- src/router/guard/titleGuard.ts | 2 +- src/router/index.ts | 2 +- src/views/sys/login/RegisterForm.vue | 3 +-- yarn.lock | 25 +++++++++++-------- 9 files changed, 34 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index 93510ee9..bd6f100f 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "axios": "^0.21.1", "crypto-es": "^1.2.7", "echarts": "^5.0.2", - "lodash-es": "^4.17.20", + "lodash-es": "^4.17.21", "mockjs": "^1.1.0", "nprogress": "^0.2.0", "path-to-regexp": "^6.2.0", @@ -52,7 +52,7 @@ "devDependencies": { "@commitlint/cli": "^11.0.0", "@commitlint/config-conventional": "^11.0.0", - "@iconify/json": "^1.1.305", + "@iconify/json": "^1.1.306", "@ls-lint/ls-lint": "^1.9.2", "@purge-icons/generated": "^0.7.0", "@types/fs-extra": "^9.0.7", @@ -101,7 +101,7 @@ "vite": "2.0.1", "vite-plugin-compression": "^0.2.1", "vite-plugin-html": "^2.0.0", - "vite-plugin-imagemin": "^0.2.6", + "vite-plugin-imagemin": "^0.2.7", "vite-plugin-mock": "^2.1.4", "vite-plugin-purge-icons": "^0.7.0", "vite-plugin-pwa": "^0.5.2", diff --git a/src/components/Application/src/AppLocalePicker.vue b/src/components/Application/src/AppLocalePicker.vue index 22668067..c7f69156 100644 --- a/src/components/Application/src/AppLocalePicker.vue +++ b/src/components/Application/src/AppLocalePicker.vue @@ -65,6 +65,7 @@ } function handleMenuEvent(menu: DropMenu) { + if (unref(getLang) === menu.event) return; toggleLocale(menu.event as string); } diff --git a/src/components/Dropdown/src/Dropdown.vue b/src/components/Dropdown/src/Dropdown.vue index 941fe866..32f664e7 100644 --- a/src/components/Dropdown/src/Dropdown.vue +++ b/src/components/Dropdown/src/Dropdown.vue @@ -6,7 +6,11 @@