Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 851ed4c

Browse files
committed
update http proxy gui logic
1 parent 97490a5 commit 851ed4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/views/setting/includes/BasicSetting.vue‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@
7070
<a-input v-model="form.remotePath" />
7171
</a-form-item>
7272
</template>
73-
<a-form-item :label="$t('Proxy')" :labelCol="formLayout.label" :wrapperCol="formLayout.wrapper" :colon="false">
73+
<a-form-item v-if="form.platform !== 'sftp'":label="$t('Proxy')" :labelCol="formLayout.label" :wrapperCol="formLayout.wrapper" :colon="false">
7474
<a-radio-group name="Proxy" v-model="form.enabledProxy">
7575
<a-radio value="direct">Direct</a-radio>
7676
<a-radio value="proxy">Proxy</a-radio>
7777
</a-radio-group>
7878
</a-form-item>
79-
<template v-if="['proxy'].includes(form.enabledProxy)">
79+
<template v-if="['proxy'].includes(form.enabledProxy)&&form.platform!=='sftp'">
8080
<a-form-item :label="$t('ProxyAddress')" :labelCol="formLayout.label" :wrapperCol="formLayout.wrapper" :colon="false">
8181
<a-input-group compact>
8282
<a-input v-model="form.proxyPath" />

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /