diff options
Diffstat (limited to 'web/html/xui/form')
| -rw-r--r-- | web/html/xui/form/stream/stream_kcp.html | 3 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_quic.html | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/web/html/xui/form/stream/stream_kcp.html b/web/html/xui/form/stream/stream_kcp.html index 1c7e87bf..0d6df9e3 100644 --- a/web/html/xui/form/stream/stream_kcp.html +++ b/web/html/xui/form/stream/stream_kcp.html @@ -12,7 +12,8 @@ </a-form-item> <br> <a-form-item label='{{ i18n "password" }}'> - <a-input v-model="inbound.stream.kcp.seed"></a-input> + <a-icon @click="inbound.stream.kcp.seed = RandomUtil.randomSeq(10)" type="sync"> </a-icon> + <a-input v-model="inbound.stream.kcp.seed" style="width: 150px;" ></a-input> </a-form-item> <br> <a-form-item label="MTU"> diff --git a/web/html/xui/form/stream/stream_quic.html b/web/html/xui/form/stream/stream_quic.html index 2dddfd87..53e60b2d 100644 --- a/web/html/xui/form/stream/stream_quic.html +++ b/web/html/xui/form/stream/stream_quic.html @@ -8,7 +8,8 @@ </a-select> </a-form-item> <a-form-item label='{{ i18n "password" }}'> - <a-input v-model.trim="inbound.stream.quic.key"></a-input> + <a-icon @click="inbound.stream.quic.key = RandomUtil.randomSeq(10)" type="sync"> </a-icon> + <a-input v-model.trim="inbound.stream.quic.key" style="width: 150px;"></a-input> </a-form-item> <a-form-item label='{{ i18n "camouflage" }}'> <a-select v-model="inbound.stream.quic.type" style="width: 280px;" :dropdown-class-name="themeSwitcher.darkCardClass"> |
