zs 1 năm trước cách đây
mục cha
commit
ea56dbe74d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pagesTeam/apply/index.js

+ 1 - 1
pagesTeam/apply/index.js

@@ -16,7 +16,7 @@ Page({
         let user = {}
         let arr = await app.$api(`user/${that.data.user._id}`, 'GET', {})
         if (arr.errcode == '0') {
-            if (arr.data.name && arr.data.icon.length > 0) user = arr.data
+            if (arr.data.name) user = arr.data
             else {
                 wx.showToast({ title: `请维护基础信息`, icon: 'none' });
                 return