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