From d18a571aa4dacab6928dbc8c6c45d5aa3f291afb Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期三, 31 七月 2024 23:34:01 +0800 Subject: [PATCH] update --- store/index.js | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/store/index.js b/store/index.js index 6146367..528e0f9 100644 --- a/store/index.js +++ b/store/index.js @@ -108,6 +108,16 @@ console.log('sign_add', key) state.sign[key] = 1 }, + // sign_add_value: async function({ + // commit, + // state + // }, { + // key, + // value + // }) { + // console.log('sign_add', key) + // state.sign[key] = value || 0 + // }, sign_clear: async function({ commit, state @@ -506,7 +516,11 @@ state }, data) { if (state.currentInfo.id) { - const resp = await http.request('get', '/api/customer/flower/cart/flower/count', {}) + const resp = await http.request('get', '/api/customer/flower/cart/flower/count', { + params: { + // flowerId: data || null + } + }) if (resp && resp.code === 0) { return resp.data || 0 } else { -- Gitblit v1.9.3