From a749e9c9532cd013d8fc2b47e8d42c914a0ddc54 Mon Sep 17 00:00:00 2001 From: Junling Bu Date: Sat, 10 Nov 2018 21:56:19 +0800 Subject: [PATCH] =?UTF-8?q?fix[litemall-admin-api]:=20=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E7=B1=BB=E7=9B=AE=E4=BB=A5=E5=90=8E=EF=BC=8C=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E5=8F=8A=E6=97=B6=E6=9B=B4=E6=96=B0=E5=89=8D=E7=AB=AF=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E7=9A=84L1=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litemall-admin/src/views/mall/category.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/litemall-admin/src/views/mall/category.vue b/litemall-admin/src/views/mall/category.vue index c01d4e82..e21d2d76 100644 --- a/litemall-admin/src/views/mall/category.vue +++ b/litemall-admin/src/views/mall/category.vue @@ -263,6 +263,8 @@ export default { if (valid) { createCategory(this.dataForm).then(response => { this.list.unshift(response.data.data) + // 更新L1目录 + this.getCatL1() this.dialogFormVisible = false this.$notify.success({ title: '成功', @@ -296,6 +298,8 @@ export default { break } } + // 更新L1目录 + this.getCatL1() this.dialogFormVisible = false this.$notify.success({ title: '成功', @@ -312,6 +316,8 @@ export default { }, handleDelete(row) { deleteCategory(row).then(response => { + // 更新L1目录 + this.getCatL1() this.$notify.success({ title: '成功', message: '删除成功'