From 083fc3bf0f01788bc69b5072026a500ebc0dc086 Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Fri, 15 May 2026 16:27:17 +0800
Subject: [PATCH] UI:购有趣 1.4.0

---
 pages/my/my.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pages/my/my.vue b/pages/my/my.vue
index 16b0107..6ebf89e 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -7,7 +7,8 @@
 		<view class="myContent">
 			<view class="myHeader">
 				<!-- <image :src="userInfo != null ? userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode="" @tap="setImg"></image> -->
-				<image :src="userInfo != null ? userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode=""  @tap="setImg"></image>
+				<image v-if="userInfo == null" :src="userInfo != null ? $baseUrl+userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode="" @tap="$util.goPages('/pages/login/login')"></image>
+				<image v-else :src="userInfo != null ? $baseUrl+userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode=""></image>
 				<view class="myNick">
 					<template>
 						<view v-if="userInfo == null" @tap="$util.goPages('/pages/login/login')">未登录</view>

--
Gitblit v1.9.3