mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-09-07 00:17:03 +08:00
✨ Feature: add alias for plugin config name
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user