update 数据库更改 对接多用户体系

This commit is contained in:
疯狂的狮子li
2022-01-17 17:09:27 +08:00
parent 3600875707
commit 911867d5a5
11 changed files with 93 additions and 47 deletions

View File

@ -124,7 +124,9 @@ export default {
this.$refs.registerForm.validate(valid => {
if (valid) {
this.loading = true;
register(this.registerForm).then(res => {
let registerForm = this.registerForm;
registerForm.userType = "sys_user"
register(registerForm).then(res => {
const username = this.registerForm.username;
this.$alert("<font color='red'>恭喜你,您的账号 " + username + " 注册成功!</font>", '系统提示', {
dangerouslyUseHTMLString: true,