From 2c654514f26557b074f5b2a983aa270d839c142b Mon Sep 17 00:00:00 2001 From: whycq0520 <91384184@qq.com> Date: 星期三, 23 三月 2022 10:58:28 +0800 Subject: [PATCH] # sale.vue --- pages/basics/sale.vue | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/pages/basics/sale.vue b/pages/basics/sale.vue index 1e95069..f95a07c 100644 --- a/pages/basics/sale.vue +++ b/pages/basics/sale.vue @@ -108,6 +108,26 @@ } ] } + }, + mounted(){ + const UIP = uni.getStorageSync('UIP'); + this.baseIP = UIP; + const UPORT = uni.getStorageSync('UPORT'); + this.basePORT = UPORT; + let that = this; + uni.request({ + url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + "/receiveDetl/list/auth", + header:{'token':uni.getStorageSync('token')}, + success(res) { + console.log(res) + } + }) + }, + onLoad() { + + }, + methods: { + } } </script> -- Gitblit v1.9.1