Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlireza Ahmadi <alireza7@gmail.com>2023-12-08 19:18:51 +0300
committerAlireza Ahmadi <alireza7@gmail.com>2023-12-08 19:18:51 +0300
commit5e47b4e94925c2272a7f0a4cc355cede72c671a4 (patch)
tree1cc0b2f5c8cea380b65c6d8bb1294e9c5eeb83a7 /web/html/xui/component
parent549f230221d7139270efefd76ac81f37e1a747f9 (diff)
pagination and sub URI support #1300
Diffstat (limited to 'web/html/xui/component')
-rw-r--r--web/html/xui/component/setting.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/html/xui/component/setting.html b/web/html/xui/component/setting.html
index 568f03de..82c0ae75 100644
--- a/web/html/xui/component/setting.html
+++ b/web/html/xui/component/setting.html
@@ -13,10 +13,10 @@
</a-col>
<a-col :lg="24" :xl="12">
<template v-if="type === 'text'">
- <a-input :value="value" @input="$emit('input', $event.target.value)"></a-input>
+ <a-input :value="value" @input="$emit('input', $event.target.value)" :placeholder="placeholder"></a-input>
</template>
<template v-else-if="type === 'number'">
- <a-input-number :value="value" @change="value => $emit('input', value)" :min="min" style="width: 100%;"></a-input-number>
+ <a-input-number :value="value" :step="step" @change="value => $emit('input', value)" :min="min" style="width: 100%;"></a-input-number>
</template>
<template v-else-if="type === 'switch'">
<a-switch :checked="value" @change="value => $emit('input', value)"></a-switch>
@@ -29,7 +29,7 @@
{{define "component/setting"}}
<script>
Vue.component('setting-list-item', {
- props: ["type", "title", "desc", "value", "min"],
+ props: ["type", "title", "desc", "value", "min", "step", "placeholder"],
template: `{{template "component/settingListItem"}}`,
});
</script>