From 324f55c30a93b1498b04302757cbb604a42609f5 Mon Sep 17 00:00:00 2001 From: whycq <whycq> Date: 星期二, 22 二月 2022 13:47:42 +0800 Subject: [PATCH] # --- pages/basics/comb.vue | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/pages/basics/comb.vue b/pages/basics/comb.vue index 9d4d295..c547021 100644 --- a/pages/basics/comb.vue +++ b/pages/basics/comb.vue @@ -24,8 +24,8 @@ </view> <view> - <button class="cu-btn bg-yellow pda-btn" @click="comb()">缁勬墭</button> - <button class="cu-btn bg-grey pda-btn" @click="reset">閲嶇疆</button> + <button class="cu-btn bg-yellow pda-btn" @click="comb()">缁� 鎵�</button> + <button class="cu-btn bg-grey pda-btn" @click="reset">閲� 缃�</button> </view> <view> <!-- 鏅�氬脊绐� --> @@ -117,9 +117,8 @@ if(that.matNo.length===0){ return; } - console.log('http://'+ that.baseUrl + ':8082/xgmwms' + "/matCode/auth") uni.request({ - url: that.baseUrl + "/matCode/auth", + url: that.baseHttp + that.baseIP + that.baseUrl + "/matCode/auth", header:{ 'content-type':'application/x-www-form-urlencoded', @@ -130,7 +129,6 @@ }, method:'POST', success:function(res){ - console.log(res) let data = res.data.data if(res.data.code === 200){ @@ -199,7 +197,6 @@ let that = this let barcode = that.code if(barcode.length === 0){ - console.log(1) that.messageToggle('error') that.messageText = '鎵樼洏鏉$爜涓虹┖' return; @@ -216,7 +213,7 @@ } uni.request({ - url: that.baseUrl + "/mobile/comb/auth", + url: that.baseHttp + that.baseIP + that.baseUrl + "/mobile/comb/auth", header:{ // #ifdef H5 'token':uni.getStorageSync('token') @@ -233,7 +230,6 @@ }, method:'POST', success:function(res){ - console.log(res) if(res.data.code===200){ that.reset() that.messageToggle('success') -- Gitblit v1.9.1