Browse Source

fix: APP 个人信息修改去除头像修改

zhangying 9 months ago
parent
commit
66c6668deb
1 changed files with 3 additions and 7 deletions
  1. 3 7
      h5app/src/views/pages/user/myInfo.vue

+ 3 - 7
h5app/src/views/pages/user/myInfo.vue

@@ -11,11 +11,6 @@
     <ion-content>
       <form autocomplete="off">
         <div class="bw-vue-form">
-        <div class="form-input" >
-          <ion-label>头像图片上传</ion-label>
-          <b-image v-if="userInfo.userID" :file-ref-id="userInfo.userID" :readonly="false"
-                   :is-single="true"></b-image>
-        </div>
         <div class="form-input">
           <ion-label>姓名</ion-label>
           <ion-input readonly v-model="dataModel.siteUserName"></ion-input>
@@ -151,7 +146,6 @@ import {getSiteUserByUserID,saveSiteUser} from '@/api/siteUserInfo';
 import {getSysDictionaryList} from "@/api/system/dictionary";
 import dayjs from "dayjs";
 import CategorySelection from "@/components/ocCategorySelection.vue";
-import BImage from "@/components/bImage.vue";
 
 interface SelectProps {
   name: string,
@@ -163,7 +157,9 @@ interface userModel {
 
 export default defineComponent({
   name: 'myInfo',
-  components:{CategorySelection,BImage},
+  components: {
+    CategorySelection,
+  },
   setup() {
     const userStore = useUserStore();
     const userInfo = ref(userStore.getUserInfo);