From 5927b182e31c9599a4da4dfa0781e494876cf69e Mon Sep 17 00:00:00 2001
From: 张磊磊 <201175954@qq.com>
Date: 星期三, 08 十一月 2023 14:52:15 +0800
Subject: [PATCH] 参数修改类型
---
sz_app/pages/loginIndex/index.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sz_app/pages/loginIndex/index.vue b/sz_app/pages/loginIndex/index.vue
index 34d58ca..86b9da2 100644
--- a/sz_app/pages/loginIndex/index.vue
+++ b/sz_app/pages/loginIndex/index.vue
@@ -64,8 +64,8 @@
data() {
return {
formLogin: {
- username: '',
- password: ''
+ username: '15010128058',
+ password: '123456'
},
rulesLogin: {
username: [{
@@ -107,7 +107,7 @@
if(valid) {
const params = Object.assign({}, this.formLogin);
this.$api.system.userLogin(params).then((res) => {
- console.log(res.data, '----');
+ console.log(res, '----');
if(res.success) {
uni.$u.toast('登录成功!');
uni.setStorageSync('realName', res.data.realName);
--
Gitblit v1.9.3