|
1 | 1 | const $ = new Env('BoxJs') |
2 | 2 | $.domain = '8.8.8.8' |
3 | 3 |
|
4 | | -$.version = '0.4.12' |
| 4 | +$.version = '0.4.14' |
5 | 5 | $.versionType = 'beta' |
6 | 6 | $.KEY_sessions = 'chavy_boxjs_sessions' |
7 | 7 | $.KEY_versions = 'chavy_boxjs_versions' |
@@ -131,9 +131,9 @@ function getSystemApps() { |
131 | 131 | keys: ['chavy_cookie_tieba'], |
132 | 132 | settings: [ |
133 | 133 | { id: 'CFG_tieba_isOrderBars', name: '按连签排序', val: false, type: 'boolean', desc: '默认按经验排序' }, |
134 | | - { id: 'CFG_tieba_maxShowBars', name: '每页显示数', val: 15, type: 'text', desc: '每页最显示多少个吧信息' }, |
135 | | - { id: 'CFG_tieba_maxSignBars', name: '每次并发', val: 5, type: 'text', desc: '每次并发签到多少个吧' }, |
136 | | - { id: 'CFG_tieba_signWaitTime', name: '并发间隔 (毫秒)', val: 2000, type: 'text', desc: '每次并发间隔时间' } |
| 134 | + { id: 'CFG_tieba_maxShowBars', name: '每页显示数', val: 15, type: 'number', desc: '每页最显示多少个吧信息' }, |
| 135 | + { id: 'CFG_tieba_maxSignBars', name: '每次并发', val: 5, type: 'number', desc: '每次并发签到多少个吧' }, |
| 136 | + { id: 'CFG_tieba_signWaitTime', name: '并发间隔 (毫秒)', val: 2000, type: 'number', desc: '每次并发间隔时间' } |
137 | 137 | ], |
138 | 138 | author: '@chavyleung', |
139 | 139 | repo: 'https://github.com/chavyleung/scripts/tree/master/tieba', |
@@ -929,6 +929,7 @@ function printHtml(data, curapp = null, curview = 'app') { |
929 | 929 | <label>{{ setting.name }}</label> |
930 | 930 | <v-checkbox class="mt-0" :hide-details="itemIdx + 1 !== setting.items.length" v-model="setting.val" :label="item.label" :value="item.key" v-for="(item, itemIdx) in setting.items" :key="item.key" multiple></v-checkbox> |
931 | 931 | </template> |
| 932 | + <v-text-field :label="setting.name" v-model="setting.val" :hint="setting.desc" :placeholder="setting.placeholder" type="number" v-else-if="setting.type === 'number'"></v-text-field> |
932 | 933 | <v-text-field :label="setting.name" v-model="setting.val" :hint="setting.desc" :placeholder="setting.placeholder" v-else="setting.type === 'text'"></v-text-field> |
933 | 934 | </template> |
934 | 935 | </v-form> |
|
0 commit comments