mirror of https://github.com/halo-dev/halo
Feature/add switch type for theme settings (halo-dev/console#120)
* 1.3.0-beta.2 * feat: add switch type for theme settings.pull/3445/head
parent
dfa0d91007
commit
83bc23c697
|
@ -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