diff --git a/src/components/Template/HandleFormItem.vue b/src/components/Template/HandleFormItem.vue index 281cf0e..bf6bd51 100644 --- a/src/components/Template/HandleFormItem.vue +++ b/src/components/Template/HandleFormItem.vue @@ -1280,8 +1280,8 @@ export default { isModify = !!current.oldValue; } } else if (this.type === "checkbox") { - recordOldVlaue = `${this.item.checkboxLabel || ""}:${this.oldValue ? '勾选' : '未勾选'}`; - recordValue = `${this.item.checkboxLabel || ""}:${this.inputValue ? '勾选' : '未勾选'}`; + recordOldVlaue = `${this.item.checkboxLabel || this.fieldItemLabel || ""}:${this.oldValue ? '勾选' : '未勾选'}`; + recordValue = `${this.item.checkboxLabel || this.fieldItemLabel || ""}:${this.inputValue ? '勾选' : '未勾选'}`; isModify = this.oldValue !== ''; } else if (this.type === "attachment") { const attList = JSON.parse(recordValue); diff --git a/src/components/Template/Step.vue b/src/components/Template/Step.vue index f46df73..e39c44e 100644 --- a/src/components/Template/Step.vue +++ b/src/components/Template/Step.vue @@ -11,6 +11,7 @@ v-model="step.type" @change="onTypeChange(index)" />
@@ -32,6 +33,7 @@