This commit is contained in:
张成
2026-04-13 11:16:22 +08:00
parent 75149f994f
commit c73afd2325
13 changed files with 421 additions and 30 deletions

View File

@@ -43,9 +43,13 @@ export default {
},
methods: {
...mapActions('user', ['handleLogin']),
async handleSubmit({ userName, password }) {
async handleSubmit({ userName, password, tenantCode }) {
try {
let userFrom = { name: userName, password: password }
let userFrom = {
name: userName,
password: password,
tenant_code: tenantCode || 'default'
}
await this.handleLogin({
userFrom,
Main,