diff options
| -rw-r--r-- | web/html/xui/form/outbound.html | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html index 84882498..abc96bb4 100644 --- a/web/html/xui/form/outbound.html +++ b/web/html/xui/form/outbound.html @@ -187,11 +187,15 @@ <a-form-item label='ID'> <a-input v-model.trim="outbound.settings.id"></a-input> </a-form-item> - <a-form-item label='Security'> - <a-select v-model="outbound.settings.security" :dropdown-class-name="themeSwitcher.currentTheme"> - <a-select-option v-for="key in USERS_SECURITY" :value="key">[[ key ]]</a-select-option> - </a-select> - </a-form-item> + + <!-- vmess settings --> + <template v-if="outbound.protocol === Protocols.VMess"> + <a-form-item label='Security'> + <a-select v-model="outbound.settings.security" :dropdown-class-name="themeSwitcher.currentTheme"> + <a-select-option v-for="key in USERS_SECURITY" :value="key">[[ key ]]</a-select-option> + </a-select> + </a-form-item> + </template> <!-- vless settings --> <template v-if="outbound.canEnableTlsFlow()"> |
