feat: 解决问题

This commit is contained in:
caijun
2026-01-23 11:12:57 +08:00
parent 686bf339ae
commit 5b3c7512a2

View File

@@ -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,