feat: 解决问题
This commit is contained in:
@@ -499,7 +499,7 @@
|
|||||||
this.imgUrl = `/api/oauth/ImageCode/${this.codeLength || 4}/${timestamp}`
|
this.imgUrl = `/api/oauth/ImageCode/${this.codeLength || 4}/${timestamp}`
|
||||||
},
|
},
|
||||||
login() {
|
login() {
|
||||||
const userStore = useUserStore()
|
|
||||||
this.$refs.dataForm.validate(valid => {
|
this.$refs.dataForm.validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
@@ -526,6 +526,7 @@
|
|||||||
},
|
},
|
||||||
// 普通登录
|
// 普通登录
|
||||||
getLogin(){
|
getLogin(){
|
||||||
|
const userStore = useUserStore()
|
||||||
let query = {
|
let query = {
|
||||||
tenantName: this.formData.tenantName,
|
tenantName: this.formData.tenantName,
|
||||||
username: this.formData.username,
|
username: this.formData.username,
|
||||||
|
|||||||
Reference in New Issue
Block a user