Use labels insted of keys
This commit is contained in:
parent
a14b74f975
commit
7aba783351
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<el-form-item :label="setting.key">
|
||||
<el-form-item :label="setting.label">
|
||||
<el-input
|
||||
v-if="setting.type === 'string'"
|
||||
:value="data[setting.key]"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<inputs :settings-group="settingsGroup" :setting="setting" :data="data"/>
|
||||
</div>
|
||||
<div v-if="compound(setting.type)">
|
||||
<el-form-item :label="`${setting.key}:`"/>
|
||||
<el-form-item :label="`${setting.label}:`"/>
|
||||
<div v-for="subSetting in setting.children" :key="subSetting.key">
|
||||
<inputs :settings-group="setting" :setting="subSetting" :data="data[setting]"/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue