Support placeholder property for theme setting item.

pull/25/head
ruibaby 2019-05-24 00:50:08 +08:00
parent 8a7ad7571b
commit 22af605598
1 changed files with 2 additions and 0 deletions

View File

@ -165,12 +165,14 @@
<a-input
v-model="themeSettings[item.name]"
:defaultValue="item.defaultValue"
:placeholder="item.placeholder"
v-if="item.type == 'TEXT'"
/>
<a-input
type="textarea"
:autosize="{ minRows: 5 }"
v-model="themeSettings[item.name]"
:placeholder="item.placeholder"
v-else-if="item.type == 'TEXTAREA'"
/>
<a-radio-group