mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-02 11:08:13 -05:00
✨ Feature: add alias for plugin config name
This commit is contained in:
parent
e38e6f038c
commit
5a064830c6
@ -9,7 +9,7 @@
|
|||||||
>
|
>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-for="(item, index) in configList"
|
v-for="(item, index) in configList"
|
||||||
:label="item.name"
|
:label="item.alias || item.name"
|
||||||
:required="item.required"
|
:required="item.required"
|
||||||
:prop="item.name"
|
:prop="item.name"
|
||||||
:key="item.name + index"
|
:key="item.name + index"
|
||||||
@ -26,7 +26,7 @@
|
|||||||
:placeholder="item.message || item.name"
|
:placeholder="item.message || item.name"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="(choice, idx) in item.choices"
|
v-for="choice in item.choices"
|
||||||
:label="choice.name || choice.value || choice"
|
:label="choice.name || choice.value || choice"
|
||||||
:key="choice.name || choice.value || choice"
|
:key="choice.name || choice.value || choice"
|
||||||
:value="choice.value || choice"
|
:value="choice.value || choice"
|
||||||
@ -40,7 +40,7 @@
|
|||||||
collapse-tags
|
collapse-tags
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="(choice, idx) in item.choices"
|
v-for="choice in item.choices"
|
||||||
:label="choice.name || choice.value || choice"
|
:label="choice.name || choice.value || choice"
|
||||||
:key="choice.value || choice"
|
:key="choice.value || choice"
|
||||||
:value="choice.value || choice"
|
:value="choice.value || choice"
|
||||||
|
Loading…
Reference in New Issue
Block a user