董国庆
10 天以前 df4ac9fbcf28e1f38df70242f1afb9e5be056a69
laboratory/src/views/dataManagement/dispatching/components/AddGroupDialog.vue
@@ -101,8 +101,8 @@
    handleSubmit() {
      this.$refs.form.validate((valid) => {
        if (valid) {
          const eventName = this.isEdit ? "update" : "submit";
          this.$emit(eventName, {...this.form});
          const eventName = "submit";
          this.$emit(eventName, {...this.form,id:this.form.id || new Date().getTime()});
          this.handleClose();
        }
      });