mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 08:16:46 +08:00
fix:证书上传增加upload
This commit is contained in:
@@ -501,8 +501,8 @@ export default {
|
|||||||
fileUp(formDatas).then((res) => {
|
fileUp(formDatas).then((res) => {
|
||||||
if (res.data.code === 200) {
|
if (res.data.code === 200) {
|
||||||
console.log(file)
|
console.log(file)
|
||||||
state.imageUrl = res.data.data;
|
state.imageUrl = process.env.VUE_APP_FILE_PATH + res.data.data;
|
||||||
state.imageName = file.name;
|
state.imageName = process.env.VUE_APP_FILE_PATH + file.name;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user