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 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" />
You can’t perform that action at this time.
0 commit comments