diff options
| author | Hamidreza Ghavami <hamid.r.gh.1998@gmail.com> | 2023-05-04 19:57:42 +0300 |
|---|---|---|
| committer | Hamidreza Ghavami <hamid.r.gh.1998@gmail.com> | 2023-05-04 19:57:42 +0300 |
| commit | a18cbdcf11bdc2b19c0fd6cf2aa16bc00b3b9971 (patch) | |
| tree | ca1b12d575886177d415b21dd08b20c767d13408 /web/html/xui/form/protocol | |
| parent | 4f8de18d1f21518b98aba82cbf14d2d23c0c178c (diff) | |
changed number input tags to 'a-input-number'
Diffstat (limited to 'web/html/xui/form/protocol')
| -rw-r--r-- | web/html/xui/form/protocol/dokodemo.html | 2 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/trojan.html | 4 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/vless.html | 4 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/vmess.html | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/web/html/xui/form/protocol/dokodemo.html b/web/html/xui/form/protocol/dokodemo.html index 53c82c3c..f9204b8c 100644 --- a/web/html/xui/form/protocol/dokodemo.html +++ b/web/html/xui/form/protocol/dokodemo.html @@ -4,7 +4,7 @@ <a-input v-model.trim="inbound.settings.address"></a-input> </a-form-item> <a-form-item label='{{ i18n "pages.inbounds.destinationPort"}}'> - <a-input type="number" v-model.number="inbound.settings.port"></a-input> + <a-input-number v-model="inbound.settings.port"></a-input-number> </a-form-item> <a-form-item label='{{ i18n "pages.inbounds.network"}}'> <a-select v-model="inbound.settings.network" style="width: 100px;" :dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''"> diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html index b52c4dd9..65344f11 100644 --- a/web/html/xui/form/protocol/trojan.html +++ b/web/html/xui/form/protocol/trojan.html @@ -33,7 +33,7 @@ <a-icon type="question-circle" theme="filled"></a-icon> </a-tooltip> </span> - <a-input type="number" v-model.number="client.limitIp" min="0" style="width: 70px;" ></a-input> + <a-input-number v-model="client.limitIp" min="0" style="width: 70px;"></a-input-number> </a-form-item> <a-form-item v-if="inbound.xtls" label="Flow"> <a-select v-model="client.flow" style="width: 150px" :dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''"> @@ -113,7 +113,7 @@ <a-input v-model="fallback.dest"></a-input> </a-form-item> <a-form-item label="xVer"> - <a-input type="number" v-model.number="fallback.xver"></a-input> + <a-input-number v-model="fallback.xver"></a-input-number> </a-form-item> <a-divider v-if="inbound.settings.fallbacks.length - 1 === index"/> </a-form> diff --git a/web/html/xui/form/protocol/vless.html b/web/html/xui/form/protocol/vless.html index 1d733d02..b05f2157 100644 --- a/web/html/xui/form/protocol/vless.html +++ b/web/html/xui/form/protocol/vless.html @@ -33,7 +33,7 @@ <a-icon type="question-circle" theme="filled"></a-icon> </a-tooltip> </span> - <a-input type="number" v-model.number="client.limitIp" min="0" style="width: 70px;" ></a-input> + <a-input-number v-model="client.limitIp" min="0" style="width: 70px;"></a-input-number> </a-form-item> <a-form-item v-if="inbound.xtls" label="Flow"> <a-select v-model="inbound.settings.vlesses[index].flow" style="width: 200px" :dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''"> @@ -119,7 +119,7 @@ <a-input v-model="fallback.dest"></a-input> </a-form-item> <a-form-item label="xVer"> - <a-input type="number" v-model.number="fallback.xver"></a-input> + <a-input-number v-model="fallback.xver"></a-input-number> </a-form-item> <a-divider v-if="inbound.settings.fallbacks.length - 1 === index"/> </a-form> diff --git a/web/html/xui/form/protocol/vmess.html b/web/html/xui/form/protocol/vmess.html index 9cd48544..86ceead8 100644 --- a/web/html/xui/form/protocol/vmess.html +++ b/web/html/xui/form/protocol/vmess.html @@ -15,7 +15,7 @@ <a-input v-model.trim="client.email" style="width: 150px;"></a-input> </a-form-item> <a-form-item label='{{ i18n "additional" }} ID'> - <a-input type="number" v-model.number="client.alterId" style="width: 70px;"></a-input> + <a-input-number v-model="client.alterId" style="width: 70px;"></a-input-number> </a-form-item> <a-form-item label="ID"> <a-input v-model.trim="client.id" style="width: 300px;"></a-input> @@ -36,7 +36,7 @@ <a-icon type="question-circle" theme="filled"></a-icon> </a-tooltip> </span> - <a-input type="number" v-model.number="client.limitIp" min="0" style="width: 70px;"></a-input> + <a-input-number v-model="client.limitIp" min="0" style="width: 70px;"></a-input-number> </a-form-item> <a-form-item> <span slot="label"> |
