Explorar el Código

登录页面优化

xiaohaizhao hace 1 año
padre
commit
ce63b2b0a7
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      pages/login/modules/account.js

+ 3 - 1
pages/login/modules/account.js

@@ -20,7 +20,9 @@ Component({
 			this.setData({
 				...wx.getStorageSync('loginMsg')
 			});
-			this.allowOrNot();
+			setTimeout(()=>{
+				this.allowOrNot();
+			}, 300)
 		}
 	},
 	methods: {