Commit fc3ce2b9 authored by 涂伟's avatar 涂伟

fix: '继承登录修改图片显示逻辑优化'

parent 6d289f05
Pipeline #72428 passed with stages
...@@ -103,7 +103,8 @@ const AddModal = props => { ...@@ -103,7 +103,8 @@ const AddModal = props => {
// ) { // ) {
// setImageUrl(`http://192.168.12.116:8017/${pickItem.iconUrl}`); // setImageUrl(`http://192.168.12.116:8017/${pickItem.iconUrl}`);
// } else { // } else {
setImageUrl(window.location.origin + `/${pickItem.iconUrl}`); // setImageUrl(window.location.origin + `/${pickItem.iconUrl}`);
setImageUrl(getImg(pickItem.iconUrl));
setIm(pickItem.iconUrl); setIm(pickItem.iconUrl);
// } // }
} else { } else {
......
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