yz3456
2024-03-26 05d623d5b806f6650b9544dcbd4f322d677bf9a8
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() {