Commit 632c2cf0 authored by 邓超's avatar 邓超

fix: 修改流程图片根据路径显示

parent 70cfbcf5
Pipeline #68576 passed with stages
...@@ -444,11 +444,12 @@ const WorkflowHomePage = () => { ...@@ -444,11 +444,12 @@ const WorkflowHomePage = () => {
</div> </div>
</div> </div>
{ele.PreviewImage ? ( {ele.PreviewImage ? (
<img // <img
src={`${ // src={`${
window.location.origin // window.location.origin
}/PandaOMS/OMS/FileCenter/DownLoadFiles?filePath=${ele.PreviewImage}`} // }/PandaOMS/OMS/FileCenter/DownLoadFiles?filePath=${ele.PreviewImage}`}
/> // />
<img src={`${window.location.origin}/${ele.PreviewImage}`} />
) : ( ) : (
<img <img
className={styles.noDataImg} className={styles.noDataImg}
......
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