BUG 25191
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<div class="form-config">
|
<div class="form-config">
|
||||||
<div class="config-group">
|
<div class="config-group">
|
||||||
<div class="config-item">
|
<div class="config-item">
|
||||||
<u-input class="form-maintitle" :maxlength="200" v-model="config.label" :placeholder="`请输入${config.fixedLabel}标题 ${config.required ? '(必填)' : ''}`" placeholder-style="color: #999999; font-weight: 600" />
|
<u-input class="form-maintitle" :maxlength="200" v-model="config.label" :placeholder="`请输入${config.fixedLabel||''}标题 ${config.required ? '(必填)' : ''}`" placeholder-style="color: #999999; font-weight: 600" />
|
||||||
</div>
|
</div>
|
||||||
<div class="config-item__select--wrapper" v-if="['radio', 'select', 'checkbox'].includes(config.type)">
|
<div class="config-item__select--wrapper" v-if="['radio', 'select', 'checkbox'].includes(config.type)">
|
||||||
<div class="config-item__select" v-for="(item, index) in config.options" :key="index">
|
<div class="config-item__select" v-for="(item, index) in config.options" :key="index">
|
||||||
@@ -174,7 +174,7 @@ export default {
|
|||||||
|
|
||||||
let index = 0
|
let index = 0
|
||||||
if (this.config.answer) {
|
if (this.config.answer) {
|
||||||
this.config.options.forEach((v, i) => {
|
this.config.options?.forEach((v, i) => {
|
||||||
if (v.label === this.config.answer) {
|
if (v.label === this.config.answer) {
|
||||||
index = i
|
index = i
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user