v2.6.9 -------->>> Independent SpeedLimit

This commit is contained in:
心隨緣動 2025-09-05 21:28:15 +08:00 committed by GitHub
parent cc74d1038f
commit 448f5f3b1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,6 +68,28 @@
</template> </template>
<a-input-number :style="{ width: '50%' }" v-model.number="client.tgId" min="0"></a-input-number> <a-input-number :style="{ width: '50%' }" v-model.number="client.tgId" min="0"></a-input-number>
</a-form-item> </a-form-item>
<!-- 中文注释: 增加【独立限速】 speedLimit 输入框 -->
<a-form-item>
<template slot="label">
{{ i18n "pages.inbounds.speedLimit" }}
<a-tooltip>
<template slot="title">
<span>{{ i18n "pages.inbounds.speedLimitDesc" }}</span>
</template>
<a-icon type="question-circle"></a-icon>
</a-tooltip>
</template>
<a-input-number
v-model.number="client.speedLimit"
:min="0"
style="width: 100%">
<template slot="addonAfter">
KB/s
</template>
</a-input-number>
</a-form-item>
<a-form-item v-if="client.email" label='{{ i18n "comment" }}'> <a-form-item v-if="client.email" label='{{ i18n "comment" }}'>
<a-input v-model.trim="client.comment"></a-input> <a-input v-model.trim="client.comment"></a-input>
</a-form-item> </a-form-item>
@ -169,4 +191,4 @@
<a-input-number v-model.number="client.reset" :min="0"></a-input-number> <a-input-number v-model.number="client.reset" :min="0"></a-input-number>
</a-form-item> </a-form-item>
</a-form> </a-form>
{{end}} {{end}}