From bb80bb875fb93cc84415d7536849fe4536af5c20 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期二, 13 十二月 2022 11:03:22 +0800
Subject: [PATCH] #
---
pages/login/login.vue | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/pages/login/login.vue b/pages/login/login.vue
index adf4557..60c6043 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -65,7 +65,7 @@
onLogin() {
let that = this
uni.request({
- url: 'http://localhost:9528/login.action',
+ url: 'http://192.168.4.188:9528/login.action',
fail(result) {
uni.showToast({title: '璇锋眰澶辫触'})
},
@@ -83,6 +83,7 @@
that.load.btnText = '鐧诲綍涓�';
uni.setStorageSync('token', res.data.token);
uni.setStorageSync('userName', that.user.userName);
+ uni.setStorageSync('baseUrl','http://192.168.4.188:9528')
setTimeout(()=> {
uni.showToast({title: '鐧诲綍鎴愬姛'})
setTimeout(()=> {
--
Gitblit v1.9.1