src/pages/library/components/addBase.vue
@@ -286,6 +286,7 @@ }, methods: { onSubmit(formName) { debugger if (this.form.id) { // id不为空,修改底库 this.$refs[formName].validate(async (valid) => { @@ -314,6 +315,7 @@ type: "success", }); this.$emit("refresh"); this.$emit("closeAdd"); } else { this.$notify({ title: "失败",