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/component/setting.html | |
| parent | 4f8de18d1f21518b98aba82cbf14d2d23c0c178c (diff) | |
changed number input tags to 'a-input-number'
Diffstat (limited to 'web/html/xui/component/setting.html')
| -rw-r--r-- | web/html/xui/component/setting.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/xui/component/setting.html b/web/html/xui/component/setting.html index 00eeb259..efd61684 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)" :min="min"></a-input> + <a-input-number :value="value" @change="value => $emit('input', value)" :min="min" style="width: 100%;"></a-input-number> </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> |
