From 52522ba289bcd61e916c52c4d787ab7275a2f7ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E7=AB=AD=E5=8A=9B?= Date: Thu, 28 Dec 2023 15:26:00 +0800 Subject: [PATCH] Fix bugs detected from sonarcloud. --- main/package.json | 1 + main/src/components/Apps/AppPanel.vue | 2 +- main/src/components/BrandBar.vue | 12 +- .../src/components/feedback/FeedbackPanel.vue | 2 +- .../components/logsAndTerminal/LogsCard.vue | 2 +- .../settings/UpdateCompleteModal.vue | 2 +- main/src/components/settings/UpdateModal.vue | 4 +- main/src/main.js | 37 +- main/vue.config.js | 16 - yarn.lock | 632 +++++++++++++++++- 10 files changed, 648 insertions(+), 62 deletions(-) diff --git a/main/package.json b/main/package.json index 696b8e22..c368d20c 100644 --- a/main/package.json +++ b/main/package.json @@ -71,6 +71,7 @@ "vue-breakpoint-mixin": "^1.5.0", "vue-codemirror": "^4.0.6", "vue-custom-scrollbar": "^1.4.4", + "vue-dompurify-html": "2.6.0", "vue-ellipse-progress": "^1.3.1", "vue-fullscreen": "^2.6.2", "vue-i18n": "8.28.2", diff --git a/main/src/components/Apps/AppPanel.vue b/main/src/components/Apps/AppPanel.vue index eb457ef8..ecaca48d 100644 --- a/main/src/components/Apps/AppPanel.vue +++ b/main/src/components/Apps/AppPanel.vue @@ -370,7 +370,7 @@

+ v-dompurify-html="currentInstallAppText"> diff --git a/main/src/components/BrandBar.vue b/main/src/components/BrandBar.vue index 48b777c0..20c20adb 100644 --- a/main/src/components/BrandBar.vue +++ b/main/src/components/BrandBar.vue @@ -1,11 +1,3 @@ -