From 1d6733ae2b8c7940fca1a6cd5a93215a8deedce6 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Wed, 17 Nov 2021 23:32:05 +0800 Subject: [PATCH] refactor: 1 --- packages/gui/src/view/pages/proxy.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/gui/src/view/pages/proxy.vue b/packages/gui/src/view/pages/proxy.vue index afd5754..1f2b5fc 100644 --- a/packages/gui/src/view/pages/proxy.vue +++ b/packages/gui/src/view/pages/proxy.vue @@ -18,7 +18,7 @@ 当前未启动 - + 去设置
解决OneNote、微软应用商店、微软邮箱等大部分系统自带应用无法访问网络问题。点击去设置,然后按下图所示操作即可
@@ -62,11 +62,13 @@ export default { data () { return { key: 'proxy', - loopbackVisible: false + loopbackVisible: false, + systemPlatform: '' } }, - created () { - + async created () { + const platform = await this.$api.info.getSystemPlatform() + this.systemPlatform = platform }, mounted () { },