diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-04-25 14:30:21 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-04-25 14:30:21 +0300 |
| commit | 942b9862d8fe2b2c659d63a8f6c5bc24e476e6b0 (patch) | |
| tree | 84de5f0faf4bbbd4596506ca0b5c9616056e3ba2 /web/html/xui/component | |
| parent | ae55fdc38a3be89d2b02bca263e1e74b317c640c (diff) | |
[feature] add login session timeout
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html/xui/component')
| -rw-r--r-- | web/html/xui/component/setting.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/xui/component/setting.html b/web/html/xui/component/setting.html index 9f8e8cbc..00eeb259 100644 --- a/web/html/xui/component/setting.html +++ b/web/html/xui/component/setting.html @@ -9,7 +9,7 @@ <a-input :value="value" @input="$emit('input', $event.target.value)"></a-input> </template> <template v-else-if="type === 'number'"> - <a-input type="number" :value="value" @input="$emit('input', $event.target.value)"></a-input> + <a-input type="number" :value="value" @input="$emit('input', $event.target.value)" :min="min"></a-input> </template> <template v-else-if="type === 'textarea'"> <a-textarea :value="value" @input="$emit('input', $event.target.value)" :auto-size="{ minRows: 10, maxRows: 10 }"></a-textarea> @@ -25,7 +25,7 @@ {{define "component/setting"}} <script> Vue.component('setting-list-item', { - props: ["type", "title", "desc", "value"], + props: ["type", "title", "desc", "value", "min"], template: `{{template "component/settingListItem"}}`, }); </script> |
