From a1ea8877201cc865ce78f4d38b485bf2c78a3ca3 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Mon, 27 Sep 2021 19:34:52 +0800 Subject: [PATCH] no message --- pages/mall/fragment/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/mall/fragment/index.js b/pages/mall/fragment/index.js index fd7e367..78b520f 100644 --- a/pages/mall/fragment/index.js +++ b/pages/mall/fragment/index.js @@ -160,6 +160,9 @@ Component({ }, //*************************************************fetchAgentList************************************************// fetchAgentList: function () { + if(this.data.requesting || util.isEmpty(form.categoryId)){ + return + } this.setData({ requesting: true, orderList: [] }) getMomentList(form).then(result => { if (result.data.records.length) {