feige
2024-03-23 f4357cc86cd66e27476bc865b8a61b04c1e7c59a
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() {