Browse Source

refactor: 1

pull/192/head
xiaojunnuo 3 years ago
parent
commit
1d6733ae2b
  1. 10
      packages/gui/src/view/pages/proxy.vue

10
packages/gui/src/view/pages/proxy.vue

@ -18,7 +18,7 @@
当前未启动
</a-tag>
</a-form-item>
<a-form-item label="设置loopback" :label-col="labelCol" :wrapper-col="wrapperCol">
<a-form-item v-if="systemPlatform ==='win'" label="设置loopback" :label-col="labelCol" :wrapper-col="wrapperCol">
<a-button @click="loopbackVisible=true">去设置</a-button>
<div class="form-help">解决OneNote微软应用商店微软邮箱等大部分系统自带应用无法访问网络问题点击去设置然后按下图所示操作即可</div>
</a-form-item>
@ -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 () {
},

Loading…
Cancel
Save