From 92546c04cea88a6a36a624c59066398b4139018c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Thu, 26 Sep 2024 10:52:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=B0=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/gui/src/view/pages/index.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/gui/src/view/pages/index.vue b/packages/gui/src/view/pages/index.vue index 53cfbb6..b7c1147 100644 --- a/packages/gui/src/view/pages/index.vue +++ b/packages/gui/src/view/pages/index.vue @@ -75,7 +75,7 @@
-
+
-
+
- +
* 本应用完全免费,如果觉得好用,可以给予捐赠。
* 开源项目持续发展离不开您的支持,感谢
@@ -122,7 +122,7 @@ export default { }, computed: { _rootCaSetuped () { - if (this.setting && this.setting.rootCa) { + if (this.setting.rootCa) { return this.setting.rootCa.setuped === true } return false @@ -147,7 +147,7 @@ export default { }, info: {}, newVersionDownloading: false, - setting: undefined, + setting: {}, server: { key: '代理服务', loading: false, @@ -220,7 +220,7 @@ export default { async doCheckRootCa () { const setting = await this.$api.setting.load() console.log('setting', setting) - this.setting = setting + this.setting = setting || {} if (this.setting.rootCa && (this.setting.rootCa.setuped || this.setting.rootCa.noTip)) { return }