ruoyi-ui/src/views/honor/honorInfo.vue
@@ -440,7 +440,7 @@ const newOption = this.newOption.trim(); if (newOption && !this.typeOptions.includes(newOption)) { this.typeOptions.push(newOption); this.$set(this.formData, 'type', newOption); // 更新formDat.type的值为新的选项 this.$set(this.formData, 'name', newOption); // 更新formDat.type的值为新的选项 } }, getTypeOptions() {