Commit 3614667c authored by 涂伟's avatar 涂伟

fix: '集成登录图片上传路径优化'

parent d816d9fa
Pipeline #74160 passed with stages
......@@ -399,7 +399,7 @@ const AddModal = props => {
if (obj.iconUrl.includes('CityTemp') && obj.iconUrl.includes('图库')) {
obj.iconUrl = obj.iconUrl;
} else {
obj.iconUrl = obj.iconUrl;
obj.iconUrl = 'CityTemp\\图库\\' + obj.iconUrl;
}
}
if (type === 'add') {
......@@ -534,7 +534,7 @@ const AddModal = props => {
const getImg = img => {
console.log(img, 'img');
return `/PandaOMS/OMS/FileCenter/DownLoadFiles?module=图库\\第三方图标&filePath=${img}`;
return `/PandaOMS/OMS/FileCenter/DownLoadFiles?module=图库&filePath=${img}`;
};
const handleChange = info => {
......
......@@ -59,7 +59,7 @@ const Integrate = () => {
}, [flag]);
const getImg = img => {
return `/PandaOMS/OMS/FileCenter/DownLoadFiles?module=图库\\第三方图标&filePath=${img}`;
return `/PandaOMS/OMS/FileCenter/DownLoadFiles?module=图库&filePath=${img}`;
};
const columns = [
......
......@@ -223,7 +223,7 @@ const Master = props => {
};
const getImg = img => {
return `/PandaOMS/OMS/FileCenter/DownLoadFiles?module=图库\\第三方图标&filePath=${img}`;
return `/PandaOMS/OMS/FileCenter/DownLoadFiles?module=图库&filePath=${img}`;
};
const handleChange = info => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment