KouJin 1 год назад
Родитель
Сommit
5b641b8bd0

+ 1 - 1
.env.local

@@ -4,7 +4,7 @@ NODE_ENV=development
4 4
 VITE_DEV=true
5 5
 
6 6
 # 请求路径
7
-VITE_BASE_URL='http://172.16.6.128:8011'
7
+VITE_BASE_URL='http://172.16.6.128:8001'
8 8
 
9 9
 # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
10 10
 VITE_UPLOAD_TYPE=server

+ 3 - 0
src/views/Profile/components/BasicInfo.vue

@@ -31,6 +31,7 @@ import {
31 31
 } from '@/api/system/user/profile'
32 32
 import { useUserStore } from '@/store/modules/user'
33 33
 
34
+
34 35
 defineOptions({ name: 'BasicInfo' })
35 36
 
36 37
 const { t } = useI18n()
@@ -101,4 +102,6 @@ const init = async () => {
101 102
 onMounted(async () => {
102 103
   await init()
103 104
 })
105
+
106
+
104 107
 </script>

+ 1 - 1
src/views/Profile/components/ProfileUser.vue

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div class="w-full h-full flex">
3
-    <div class="flex-1">
3
+    <div class="flex-1 min-w-680px">
4 4
       <div class="text-center">
5 5
         <UserAvatar :img="userInfo?.avatar"/>
6 6
       </div>

+ 1 - 1
src/views/Profile/components/UserAvatar.vue

@@ -5,7 +5,7 @@
5 5
       :btnProps="{ preIcon: 'ant-design:cloud-upload-outlined' }"
6 6
       :showBtn="false"
7 7
       :value="img"
8
-      width="120px"
8
+
9 9
       @change="handelUpload"
10 10
     />
11 11
      <div class="text-2xl absolute right-50px bottom-0px text-[#000000]">超级管理员