src/views/printTemplate/index.jsx
@@ -831,7 +831,18 @@ Api.fileuploadbase64(param).then(result => { // 图片上传,并获取图片路径 if (result.status) { resolve(Utils.getcloudurl(result.Images)) let url = result.Images let baseurl = '' if (window.GLOB.cloudServiceApi) { baseurl = window.GLOB.cloudServiceApi.replace(/webapi(.*)$/, '') } else { baseurl = window.GLOB.baseurl } url = url.match(/^http/) || url.match(/^\/\//) ? url : baseurl + url resolve(url) } else { notification.warning({ top: 92,