瀏覽代碼

fix:头像

songzhen 3 月之前
父節點
當前提交
282449b4bb
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/pages/profile/userInfo.client.vue

+ 4 - 4
src/pages/profile/userInfo.client.vue

@@ -4,7 +4,7 @@
       <van-cell-group inset>
         <van-field name="uploader" label="头像">
           <template #input>
-            <!-- <div @click="handleChangeAvatar">
+            <div @click="handleChangeAvatar">
               <van-image
                 v-if="form.headImageUrl"
                 :src="form.headImageUrl"
@@ -21,9 +21,9 @@
                   style="font-size: 36px"
                 ></span>
               </div>
-            </div> -->
+            </div>
 
-            <van-uploader
+            <!-- <van-uploader
               style="--van-uploader-border-radius: 40px"
               :after-read="afterRead"
               :max-count="1"
@@ -33,7 +33,7 @@
               result-type="file"
               accept="image/*"
               reupload
-            />
+            /> -->
           </template>
         </van-field>
         <van-field