11wqe1 пре 3 недеља
родитељ
комит
9f0bc79c18
1 измењених фајлова са 1 додато и 1 уклоњено
  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(',');