Parcourir la source

默认图片修改

tanxue il y a 4 mois
Parent
commit
97b56d1098
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      pages/my/index.vue

+ 2 - 2
pages/my/index.vue

@@ -72,7 +72,7 @@
 	let loginFlag = ref(false);
 	let telDialogFlag = ref(false);
 	let myInfoData = reactive({
-		userImg: 'static/images/my/head-unlogin-img.png',
+		userImg: '',
 		userName: '',
 		credit: '',
 		vipFlag: '',
@@ -153,7 +153,7 @@
 	// 获取用户数据
 	function getMyInfo(){
 		myInfo({}).then(res => {
-			getUserImg(res.data.growth)
+			getUserImg(res.data.growthType)
 			myInfoData.userName = res.data.userName;
 			myInfoData.credit = res.data.credit;
 		})