Browse Source

Merge branch 'dev-2.19.0' into dev

* dev-2.19.0:
  flx:更改+=4456
wzq 4 months ago
parent
commit
92eef1ecc6
1 changed files with 1 additions and 4 deletions
  1. 1 4
      src/views/auth/login/login.vue

+ 1 - 4
src/views/auth/login/login.vue

@@ -58,9 +58,6 @@
58
 	import tool from '@/utils/tool'
58
 	import tool from '@/utils/tool'
59
 	import { message } from 'ant-design-vue'
59
 	import { message } from 'ant-design-vue'
60
 
60
 
61
-
62
-
63
-
64
 	import { globalStore, iframeStore, keepAliveStore, viewTagsStore, enumMaplistStore } from '@/store'
61
 	import { globalStore, iframeStore, keepAliveStore, viewTagsStore, enumMaplistStore } from '@/store'
65
 	const { proxy } = getCurrentInstance()
62
 	const { proxy } = getCurrentInstance()
66
 
63
 
@@ -191,11 +188,11 @@
191
 		try {
188
 		try {
192
 			const loginToken = await loginApi.login(loginData)
189
 			const loginToken = await loginApi.login(loginData)
193
 			afterLogin(loginToken)
190
 			afterLogin(loginToken)
191
+			businessDElasync()
194
 		} catch (err) {
192
 		} catch (err) {
195
 			loading.value = false
193
 			loading.value = false
196
 			loginCaptcha()
194
 			loginCaptcha()
197
 		}
195
 		}
198
-		businessDElasync()
199
 	}
196
 	}
200
 	const configLang = (key) => {
197
 	const configLang = (key) => {
201
 		config.value.lang = key
198
 		config.value.lang = key