diff --git a/src/views/system/goodsCategory/index.vue b/src/views/system/goodsCategory/index.vue index 364a37e..e38a760 100644 --- a/src/views/system/goodsCategory/index.vue +++ b/src/views/system/goodsCategory/index.vue @@ -495,7 +495,7 @@ export default { }, /** 新增按钮操作 */ handleAdd() { - // this.reset(); + this.reset(); this.open = true; this.title = "添加商品分类信息"; // if (this.queryParams.parentId != 0) { @@ -529,7 +529,6 @@ export default { this.$modal.msgSuccess("修改成功"); ++this.isResouceShow; this.open = false; - this.queryParams.pageNum = 1; this.getList(); this.info(); }); @@ -538,7 +537,6 @@ export default { this.$modal.msgSuccess("新增成功"); ++this.isResouceShow; this.open = false; - this.queryParams.pageNum = 1; this.getList(); this.info(); });