From 85ee03f39ba4765f20c2aa311d92f46b5174b9af Mon Sep 17 00:00:00 2001 From: "tianyi@bogon" Date: Sat, 28 Oct 2023 18:41:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=82=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/addHangOrder.vue | 11 ++++++++--- pages/login/login.vue | 13 ++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pages/index/addHangOrder.vue b/pages/index/addHangOrder.vue index e574a84..bbb58ff 100644 --- a/pages/index/addHangOrder.vue +++ b/pages/index/addHangOrder.vue @@ -154,9 +154,14 @@ methods: { //挂单列表 getRegList(){ - this.tui.request("/app/sale/listPages", "POST", { - status:7 - }, false, true).then((res) => { + let obj = { + status:"7", + pageVo:{ + pageNumber:1, + pageSize:10, + } + } + this.tui.request("/app/sale/listPages", "POST", obj, false, false).then((res) => { if (res.code == 200) { this.regList = res.result; } else { diff --git a/pages/login/login.vue b/pages/login/login.vue index efe94f1..47e98fd 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -137,7 +137,9 @@ }, //登录 goLogin() { - let data = {} + let data = {} + console.log(this.loginWay) + console.log(this.wayValue) if (this.loginWay) { //true data = { username: this.username, @@ -155,14 +157,7 @@ type: this.wayValue } } - this.tui.request("/auth/login", "POST", { - username: this.username, - password: this.password, - code: this.code, - captchaId: this.captchaId, - saveLogin: true, - type: this.wayValue - }, true, true).then((res) => { + this.tui.request("/auth/login", "POST", data, true, true).then((res) => { if (res.code == 200) { uni.setStorageSync("hiver_token", res.result.accessToken) let state = {