From d5a6b28258858c9359ee81a235030100f25e6a4c Mon Sep 17 00:00:00 2001 From: whycq <whycq> Date: 星期二, 15 二月 2022 15:47:27 +0800 Subject: [PATCH] ### --- pages/basics/stockQuery.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/basics/stockQuery.vue b/pages/basics/stockQuery.vue index 03d7cb7..8f803b0 100644 --- a/pages/basics/stockQuery.vue +++ b/pages/basics/stockQuery.vue @@ -66,10 +66,10 @@ find(){ let that = this uni.request({ - url:that.baseUrl + "/mobile/locDetl/stockQuery", + url: that.baseUrl + "/mobile/locDetl/stockQuery", header:{ 'content-type':'application/x-www-form-urlencoded', - 'token': localStorage.getItem('token') + 'token':uni.getStorageSync('token') }, data:{ locNo: that.locNo, -- Gitblit v1.9.1