mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 05:46:45 +08:00
内部讲师: - 查看讲师,点击下载“认证资料”,报错
upload 判断
This commit is contained in:
@@ -437,9 +437,15 @@ export default {
|
||||
// }
|
||||
// getSysTypeMap()
|
||||
const handleup = () => {
|
||||
window.open(
|
||||
`${process.env.VUE_APP_BOE_API_URL}/upload${state.formParam.certification}`
|
||||
);
|
||||
let url = "";
|
||||
if(state.formParam.certification != null && state.formParam.certification != undefined && state.formParam.certification != ''){
|
||||
if(state.formParam.certification.startWith("/upload")){
|
||||
url = `${process.env.VUE_APP_BOE_API_URL}${state.formParam.certification}`
|
||||
}else{
|
||||
url = `${process.env.VUE_APP_BOE_API_URL}/upload${state.formParam.certification}`
|
||||
}
|
||||
}
|
||||
window.open(url);
|
||||
}
|
||||
return {
|
||||
...toRefs(state),
|
||||
|
||||
Reference in New Issue
Block a user