mirror of https://github.com/halo-dev/halo-admin
Feature/add switch type for theme settings (#120)
* 1.3.0-beta.2 * feat: add switch type for theme settings.pull/122/head
parent
794e24e69f
commit
c1e510417c
|
@ -148,6 +148,17 @@
|
||||||
<a-icon type="picture" />
|
<a-icon type="picture" />
|
||||||
</a>
|
</a>
|
||||||
</a-input>
|
</a-input>
|
||||||
|
<a-input-number
|
||||||
|
v-model="themeSettings[item.name]"
|
||||||
|
:defaultValue="item.defaultValue"
|
||||||
|
v-else-if="item.type == 'NUMBER'"
|
||||||
|
style="width:100%"
|
||||||
|
/>
|
||||||
|
<a-switch
|
||||||
|
v-model="themeSettings[item.name]"
|
||||||
|
:defaultChecked="item.defaultValue"
|
||||||
|
v-else-if="item.type == 'SWITCH'"
|
||||||
|
/>
|
||||||
<a-input
|
<a-input
|
||||||
v-model="themeSettings[item.name]"
|
v-model="themeSettings[item.name]"
|
||||||
:defaultValue="item.defaultValue"
|
:defaultValue="item.defaultValue"
|
||||||
|
|
Loading…
Reference in New Issue