From 96c4135cc0b3fbd59958988b03102c8d9efeb72b Mon Sep 17 00:00:00 2001 From: xuxy <1059738716@qq.com> Date: 星期六, 27 七月 2024 00:32:03 +0800 Subject: [PATCH] 1 --- sub_pages/customer/trade/trade.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sub_pages/customer/trade/trade.vue b/sub_pages/customer/trade/trade.vue index 493cd48..b76ccdc 100644 --- a/sub_pages/customer/trade/trade.vue +++ b/sub_pages/customer/trade/trade.vue @@ -130,8 +130,10 @@ }, async onLoad() { - //加载分类 - this.$http.request('get', '/api/customer/flower/category/tree', {}).then(res => { + //加载分类 + this.$message.showLoading() + this.$http.request('get', '/api/customer/flower/category/tree', {}).then(res => { + this.$message.hideLoading() var data = res.data this.list = data || [] if (this.list.length > 0) { -- Gitblit v1.9.3