소스 검색

feat:修改首页查询图片接口

LuoDLeo 2 년 전
부모
커밋
cf4179d828
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pages/index/index.vue

+ 1 - 1
pages/index/index.vue

@@ -392,7 +392,7 @@ export default {
 
     getImgUrlByOssId(ossId) {
       if (ossId) {
-        this.$api.getImgUrlByOssId(ossId).then(res => {
+        this.$api.getImage(ossId).then(res => {
           console.log('++++++++用户头像+++++++++++++++', res)
         })
         this.userInfo.selfPhotoUrl = url;