From 80948d6d59dfaedeb2e5062d6987b0a9888e2e2f Mon Sep 17 00:00:00 2001
From: "@fawn-nine" <1271023382@qq.com>
Date: Wed, 16 Oct 2024 13:06:15 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E6=B7=BB=E5=8A=A0?=
=?UTF-8?q?=E8=87=AA=E8=80=83=E5=BC=80=E5=85=B3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/course/course-add-or-update.vue | 15 +++++++++++++--
src/views/modules/miniClass/classAddType.vue | 5 +++--
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/src/views/modules/course/course-add-or-update.vue b/src/views/modules/course/course-add-or-update.vue
index a34ca86..94f302d 100644
--- a/src/views/modules/course/course-add-or-update.vue
+++ b/src/views/modules/course/course-add-or-update.vue
@@ -24,7 +24,13 @@
-
+
+
+
+
{
- this.flag = false;
+ }).then(({ data }) => {
if (data && data.code == 0) {
this.$message.success("操作成功");
this.$nextTick(() => {
this.handleClose();
});
} else {
+ this.flag = false;
this.$message.error(data.msg);
}
}).catch(e =>{
@@ -637,6 +637,7 @@ export default {
this.$refs["ClassModelForm"].resetFields();
this.userList = [];
this.courseList = [];
+ this.flag = false;
});
this.$emit("handleClose");
}
From 69f1a1a96e33b42288869a3e36cb159b921a9bab Mon Sep 17 00:00:00 2001
From: "@fawn-nine" <1271023382@qq.com>
Date: Thu, 17 Oct 2024 11:01:41 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=96=E7=95=A5?=
=?UTF-8?q?=E6=96=87=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.gitignore | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index ed15cb7..9652515 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,4 +18,5 @@ selenium-debug.log
# common
-common/common.vue
\ No newline at end of file
+common/common.vue
+/src/views/common/common.vue