diff --git a/manager/src/views/goods-unit/index.vue b/manager/src/views/goods-unit/index.vue index b55c1245..908ee077 100644 --- a/manager/src/views/goods-unit/index.vue +++ b/manager/src/views/goods-unit/index.vue @@ -3,6 +3,7 @@ + { + this.getDataList(); + this.loading = false; + this.$Message.success("刷新成功"); + }, 500); + }, // 全部删除 delAll() { if (this.selectCount <= 0) { diff --git a/manager/src/views/goods/goods-manage/brand.vue b/manager/src/views/goods/goods-manage/brand.vue index 26e792af..3f17a3db 100644 --- a/manager/src/views/goods/goods-manage/brand.vue +++ b/manager/src/views/goods/goods-manage/brand.vue @@ -10,6 +10,7 @@ +
@@ -314,6 +315,15 @@ export default { delete this.form.id; this.modalVisible = true; }, + // 刷新 + refresh() { + this.loading = true; + setTimeout(() => { + this.getDataList(); + this.loading = false; + this.$Message.success("刷新成功"); + }, 500); + }, // 编辑 edit(v) { this.modalType = 1; diff --git a/seller/src/views/goods/goods-manage/category.vue b/seller/src/views/goods/goods-manage/category.vue index 9aaf7db0..62c3699b 100644 --- a/seller/src/views/goods/goods-manage/category.vue +++ b/seller/src/views/goods/goods-manage/category.vue @@ -140,8 +140,10 @@ export default { this.loading = true; let that = this; setTimeout(function () { + that.init(); + that.$Message.success("刷新成功"); that.loading = false; - }, 1000); + }, 500); }, //添加子分类 addChildren(v) { @@ -261,4 +263,7 @@ export default { min-height: 100vh; height: auto; } +.operation { + margin-bottom: 10px; +} diff --git a/seller/src/views/shop/ship/shipTemplate.vue b/seller/src/views/shop/ship/shipTemplate.vue index 4ea41ea7..ff6f556d 100644 --- a/seller/src/views/shop/ship/shipTemplate.vue +++ b/seller/src/views/shop/ship/shipTemplate.vue @@ -294,6 +294,7 @@ export default { this.operation = "INFO"; this.currentTab = "INFO"; this.getData(); + this.$Message.success("刷新成功"); }, //运费模板数据 getData() {