Update index.vue
修复生产环境部署后,图片路径错误,错误细节: 图路径会变为 /apiuploads/file... 而实际需要的是 /api/uploads/file...
This commit is contained in:
parent
9b758084bf
commit
f218695bef
|
@ -33,7 +33,7 @@ export default {
|
||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return{
|
return{
|
||||||
path: path,
|
path: path + '/',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed:{
|
computed:{
|
||||||
|
@ -72,4 +72,4 @@ export default {
|
||||||
height: 80px;
|
height: 80px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue