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

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

parent d816d9fa
Pipeline #74160 passed with stages
...@@ -399,7 +399,7 @@ const AddModal = props => { ...@@ -399,7 +399,7 @@ const AddModal = props => {
if (obj.iconUrl.includes('CityTemp') && obj.iconUrl.includes('图库')) { if (obj.iconUrl.includes('CityTemp') && obj.iconUrl.includes('图库')) {
obj.iconUrl = obj.iconUrl; obj.iconUrl = obj.iconUrl;
} else { } else {
obj.iconUrl = obj.iconUrl; obj.iconUrl = 'CityTemp\\图库\\' + obj.iconUrl;
} }
} }
if (type === 'add') { if (type === 'add') {
...@@ -534,7 +534,7 @@ const AddModal = props => { ...@@ -534,7 +534,7 @@ const AddModal = props => {
const getImg = img => { const getImg = img => {
console.log(img, 'img'); console.log(img, 'img');
return `/PandaOMS/OMS/FileCenter/DownLoadFiles?module=图库\\第三方图标&filePath=${img}`; return `/PandaOMS/OMS/FileCenter/DownLoadFiles?module=图库&filePath=${img}`;
}; };
const handleChange = info => { const handleChange = info => {
......
...@@ -59,7 +59,7 @@ const Integrate = () => { ...@@ -59,7 +59,7 @@ const Integrate = () => {
}, [flag]); }, [flag]);
const getImg = img => { const getImg = img => {
return `/PandaOMS/OMS/FileCenter/DownLoadFiles?module=图库\\第三方图标&filePath=${img}`; return `/PandaOMS/OMS/FileCenter/DownLoadFiles?module=图库&filePath=${img}`;
}; };
const columns = [ const columns = [
......
...@@ -223,7 +223,7 @@ const Master = props => { ...@@ -223,7 +223,7 @@ const Master = props => {
}; };
const getImg = img => { const getImg = img => {
return `/PandaOMS/OMS/FileCenter/DownLoadFiles?module=图库\\第三方图标&filePath=${img}`; return `/PandaOMS/OMS/FileCenter/DownLoadFiles?module=图库&filePath=${img}`;
}; };
const handleChange = info => { 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