From d387eb0039c3fc71927377b1b62aa0f9658505e9 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Thu, 21 Mar 2024 17:33:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A1=B5=E9=9D=A2=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/list.vue | 1 + pages/search/index.vue | 14 -------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/pages/goods/list.vue b/pages/goods/list.vue index 866472a..ecaa96f 100644 --- a/pages/goods/list.vue +++ b/pages/goods/list.vue @@ -196,6 +196,7 @@ page: pageNo, record_type: '', source_type: '', + is_user_data: '1', } if (app.searchValue != '') { param.goods_name = app.searchValue diff --git a/pages/search/index.vue b/pages/search/index.vue index 16ddbfe..4189d3d 100644 --- a/pages/search/index.vue +++ b/pages/search/index.vue @@ -175,25 +175,11 @@ // 合并新数据 const newList = app.initList(result.data) app.list.data = getMoreListData(newList, app.list, pageNo) - app.userList = newList.data[0].user - app.userList.stateStr = this.getUserStateStr(app.userList.state) - app.userList.user_islicode = newList.data[0].user_islicode resolve(newList) }) .catch(reject) }) }, - getUserStateStr(state){ - let str = '' - if (state == "1" || state == "3" || state == "7" || state == "0") { - str = '认证中' - } else if (state == "2" || state == "4" || state == "5") { - str = '认证失败' - } else if (state == "6") { - str = '认证成功' - } - return str - }, // 初始化订单列表数据 initList(newList) { newList.data.forEach(item => {