ext.zhangbin71 1 kuukausi sitten
vanhempi
commit
64c64092bb
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      pages/users/login/index.vue

+ 3 - 1
pages/users/login/index.vue

@@ -364,6 +364,8 @@
 
 	// 账号密码登录
 	const submit = async () => {
+		
+		appStore.setIndexRefersh(true)
 		if (!account.value) return Toast({
 			title: "请填写账号",
 			icon: "none"
@@ -459,7 +461,7 @@
 					merchantId: merchantId.value,
 					userId: res.data.userId
 				}
-				appStore.setIndexRefersh(true)
+				
 				await footprintScanFn(obj)
 			} else {
 				console.log('============')