File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/views/setting/includes Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 70
70
<a-input v-model =" form.remotePath" />
71
71
</a-form-item >
72
72
</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" >
74
74
<a-radio-group name =" Proxy" v-model =" form.enabledProxy" >
75
75
<a-radio value =" direct" >Direct</a-radio >
76
76
<a-radio value =" proxy" >Proxy</a-radio >
77
77
</a-radio-group >
78
78
</a-form-item >
79
- <template v-if =" [' proxy' ].includes (form .enabledProxy ) " >
79
+ <template v-if =" [' proxy' ].includes (form .enabledProxy ) && form . platform !== ' sftp ' " >
80
80
<a-form-item :label =" $t('ProxyAddress')" :labelCol =" formLayout.label" :wrapperCol =" formLayout.wrapper" :colon =" false" >
81
81
<a-input-group compact >
82
82
<a-input v-model =" form.proxyPath" />
You can’t perform that action at this time.
0 commit comments