修复了用户以及管理员页面bug并优化了管理员录入页面

master
赵宇翔 2 years ago
parent 61ff50be14
commit 509d4ccf80

@ -1 +0,0 @@
Subproject commit 21c4630736c8a62692534466882163b4cf7df99c

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 554 KiB

@ -1 +1 @@
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>eatwhat</title><script defer="defer" type="module" src="/js/chunk-vendors.2ca53387.js"></script><script defer="defer" type="module" src="/js/app.92c8f026.js"></script><link href="/css/chunk-vendors.e9d4020f.css" rel="stylesheet"><link href="/css/app.5fc7774a.css" rel="stylesheet"><script defer="defer" src="/js/chunk-vendors-legacy.b74e0908.js" nomodule></script><script defer="defer" src="/js/app-legacy.baf2d41f.js" nomodule></script></head><body><noscript><strong>We're sorry but eatwhat doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html> <!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>eatwhat</title><script defer="defer" type="module" src="/js/chunk-vendors.2ca53387.js"></script><script defer="defer" type="module" src="/js/app.d002d980.js"></script><link href="/css/chunk-vendors.e9d4020f.css" rel="stylesheet"><link href="/css/app.5fc7774a.css" rel="stylesheet"><script defer="defer" src="/js/chunk-vendors-legacy.b74e0908.js" nomodule></script><script defer="defer" src="/js/app-legacy.4a6a66a2.js" nomodule></script></head><body><noscript><strong>We're sorry but eatwhat doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 554 KiB

After

Width:  |  Height:  |  Size: 143 KiB

@ -334,7 +334,7 @@ export default {
return; return;
} }
// //
this.registerForm.userId = this.guid() this.registerForm.userId = this.guid();
const { data: registerRes } = await this.$http.post( const { data: registerRes } = await this.$http.post(
"user/register", "user/register",
this.registerForm this.registerForm
@ -345,6 +345,13 @@ export default {
} }
// //
this.$message.success("注册成功"); this.$message.success("注册成功");
this.$notify({
title: "欢迎来到吃啥-智能菜谱推荐系统",
message: `请牢记您的密码: ${this.registerForm.userPwd}`,
position: "top-left",
type: "success",
duration: 5000,
});
//便 //便
this.loginForm.userNumb = this.registerForm.userNumb; this.loginForm.userNumb = this.registerForm.userNumb;
this.loginForm.userPwd = this.registerForm.userPwd; this.loginForm.userPwd = this.registerForm.userPwd;
@ -402,11 +409,11 @@ export default {
}); });
// //
if (userRegisterFlag) { if (userRegisterFlag) {
const { data: userPwd } = await this.$http.get( const { data: userPwdRes } = await this.$http.get(
"user/login/forgetpass/" + value "user/login/forgetpass/" + value
); );
this.$message({ this.$message({
message: `你的密码是: ${userPwd}`, message: `你的密码是: ${userPwdRes[0].userPwd}`,
center: true, center: true,
showClose: true, showClose: true,
duration: 0, duration: 0,

@ -1 +0,0 @@
.el-tag+.el-tag[data-v-52c97607]{margin-left:10px}.button-new-tag[data-v-52c97607]{margin-left:10px;height:32px;line-height:30px;padding-top:0;padding-bottom:0}.input-new-tag[data-v-52c97607]{width:90px;margin-left:10px;vertical-align:bottom}

@ -0,0 +1 @@
.el-tag+.el-tag[data-v-9610d47e]{margin-left:10px}.button-new-tag[data-v-9610d47e]{margin-left:10px;height:32px;line-height:30px;padding-top:0;padding-bottom:0}.input-new-tag[data-v-9610d47e]{width:90px;margin-left:10px;vertical-align:bottom}

@ -1 +1 @@
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>eatwhat-admin</title><script defer="defer" type="module" src="/js/chunk-vendors.a23dee34.js"></script><script defer="defer" type="module" src="/js/app.5033e94b.js"></script><link href="/css/chunk-vendors.7518329a.css" rel="stylesheet"><link href="/css/app.674169b1.css" rel="stylesheet"><script defer="defer" src="/js/chunk-vendors-legacy.366d64f1.js" nomodule></script><script defer="defer" src="/js/app-legacy.dd87ebe7.js" nomodule></script></head><body><noscript><strong>We're sorry but eatwhat-admin doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html> <!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>eatwhat-admin</title><script defer="defer" type="module" src="/js/chunk-vendors.a23dee34.js"></script><script defer="defer" type="module" src="/js/app.ed2c681d.js"></script><link href="/css/chunk-vendors.7518329a.css" rel="stylesheet"><link href="/css/app.674169b1.css" rel="stylesheet"><script defer="defer" src="/js/chunk-vendors-legacy.366d64f1.js" nomodule></script><script defer="defer" src="/js/app-legacy.f45423e0.js" nomodule></script></head><body><noscript><strong>We're sorry but eatwhat-admin doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save