From 1cd9165a614dfea8561b224ef131f7b6a9e5165e Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Mon, 21 Mar 2022 18:55:46 +0800 Subject: [PATCH] add switch --- src/views/dashboard/panel/Tool.vue | 48 +++++++++++++++++++++--------- 1 file changed, 34 insertions(+), 14 deletions(-) diff --git a/src/views/dashboard/panel/Tool.vue b/src/views/dashboard/panel/Tool.vue index 1219c487..c82d5b38 100644 --- a/src/views/dashboard/panel/Tool.vue +++ b/src/views/dashboard/panel/Tool.vue @@ -72,19 +72,28 @@ limitations under the License. --> /> -
- - - - - - - +
+
+ + + + + + + +
+
+ +
@@ -106,7 +115,9 @@ import { import { useSelectorStore } from "@/store/modules/selectors"; import { ElMessage } from "element-plus"; import { Option } from "@/types/app"; +import { useI18n } from "vue-i18n"; +const { t } = useI18n(); const dashboardStore = useDashboardStore(); const selectorStore = useSelectorStore(); const appStore = useAppStoreWithOut(); @@ -434,12 +445,17 @@ function getTools() {