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 @@