From cea7998fd9c6c8bd2698d847a7b190d7edde907f Mon Sep 17 00:00:00 2001 From: hyx Date: Mon, 5 Jun 2023 19:42:44 +0800 Subject: [PATCH] =?UTF-8?q?CN-1016=20=20=E7=9F=A5=E8=AF=86=E5=BA=93?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E7=8A=B6=E6=80=81=E5=88=87=E6=8D=A2=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E5=90=8E=E8=A6=81=E6=81=A2=E5=A4=8D=E5=88=B0=E5=8E=9F?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mixins/table.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mixins/table.js b/src/mixins/table.js index b992f7e3..665067a9 100644 --- a/src/mixins/table.js +++ b/src/mixins/table.js @@ -113,7 +113,7 @@ export default { if (!this.isInit) { patch(api.knowledgeBaseEnable, { list: [{ knowledgeId: id, status: status }] }).then(response => { if (response.code === 200) { - + this.$message({ duration: 1000, type: 'success', message: this.$t('tip.saveSuccess') }) } else { console.error(response) if (response.message) { @@ -122,6 +122,7 @@ export default { this.$message.error('Something went wrong...') } } + this.$emit('reload') }) } },