From 0c4086cfdbc5bbff567bd05ebcc6e34e36cb2bf9 Mon Sep 17 00:00:00 2001
From: zhangxiaoxu123 <819527061@qq.com>
Date: 星期五, 29 七月 2022 11:24:36 +0800
Subject: [PATCH] '首页添加日计划模块'
---
pages/login/login.vue | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 35995e9..7681ca0 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -24,12 +24,15 @@
formData:{
username:'fyy',
password:'123456!@#'
+ // username:'anjianwei',
+ // password:'123456'
}
};
},
methods:{
loginSubmit(){
- // console.log('login');
+ console.log('鐐瑰嚮鐧诲綍');
+ // console.log('login');
uni.showLoading({
title:'鐧诲綍涓�...'
});
@@ -53,9 +56,15 @@
// error
console.log(e);
}
+ } else{
+ uni.showToast({
+ title:response.data.msg,
+ icon:'error',
+ duration:2000
+ })
}
}
-
+
}
};
</script>
@@ -98,7 +107,7 @@
}
.loginBtn {
margin-top: vww(80);
-
+
button {
background-color: #007aff;
color: #ffffff;
--
Gitblit v1.9.1