From f58dac994177401f2bd263586664bdff07885360 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期五, 13 十月 2023 18:03:57 +0800 Subject: [PATCH] style: 隐藏用户信息/登出 --- src/store/modules/getClientName.js | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/store/modules/getClientName.js b/src/store/modules/getClientName.js index f24918d..5ae3def 100644 --- a/src/store/modules/getClientName.js +++ b/src/store/modules/getClientName.js @@ -84,6 +84,9 @@ } }) }, + getContactFilter({ commit }, newData) { + commit("contactNameList", newData) + }, geChance(context) { getSaleChanceList().then((res) => { if (res.code == 200) { @@ -158,9 +161,9 @@ }, geProductList(context) { getProductList({ productName: "", productNumber: "", page: 1, pageSize: 10 }).then((res) => { - if (res.data.code == 200) { - console.log(res.data.data.data) - context.commit("productList", res.data.data.data) + if (res.code == 200) { + console.log(res.data.data) + context.commit("productList", res.data.data) } else { Message.error(res.msg) } -- Gitblit v1.8.0