From dc17320d1a420f94dbb8c7ece518f9e84c474493 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Thu, 2 Jun 2022 17:33:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E6=8A=A5=E5=90=8D=E7=9A=84=E8=80=81?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/study/index.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/study/index.vue b/pages/study/index.vue index cd9a390..2e67044 100644 --- a/pages/study/index.vue +++ b/pages/study/index.vue @@ -463,9 +463,9 @@ if (this.delData.isOld) { apiBoeCourse.delLearning(this.delData.kid).then(res => { if (res.status == 200) { - this.$message({ - type: 'success', - message: '删除成功!' + this.$refs.articleToast.show({ + message: '删除成功', + type: 'success' }); this.studyList.forEach((item, index) => { if (item.id === this.delData.id) { @@ -478,9 +478,9 @@ } }) } else { - this.$message({ - type: 'error', - message: res.message + this.$refs.articleToast.show({ + message: '删除失败,请稍后再试', + type: 'error' }); } });