Explorar o código

修改微信绑定

11wqe1 hai 3 semanas
pai
achega
9f0bc79c18
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/userInfoA.vue

+ 1 - 1
src/components/userInfoA.vue

@@ -679,7 +679,7 @@ export default {
 				.post(API_CONFIG.baseUrl, params)
 				.then((res) => {
 					console.log(res.data);
-					if (!res.data.length) {
+					if (!res.data[0].length) {
 						this.addOpenid(openid);
 					} else {
 						let uname = res.data[0].map(item => item.username).join(',');