소스 검색

Update index.vue

修复生产环境部署后,图片路径错误,错误细节: 图路径会变为 /apiuploads/file...  而实际需要的是 /api/uploads/file...
mlsjla 3 년 전
부모
커밋
88c6f56f4a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      web/src/components/customPic/index.vue

+ 2 - 2
web/src/components/customPic/index.vue

@@ -33,7 +33,7 @@ export default {
     },
     data(){
         return{
-            path: path,
+            path: path + '/',
         }
     },
     computed:{
@@ -72,4 +72,4 @@ export default {
     height: 80px;
     position: relative;
 }
-</style>
+</style>