Commit 17c15cc0 authored by 皮倩雯's avatar 皮倩雯

fix: 新增事件默认图片'

parent c1162135
Pipeline #64977 passed with stages
......@@ -623,7 +623,7 @@ const AddModal = props => {
form.setFieldsValue({
ImageExpression: 'assets/images/caseCenter/events/通用问题1.png',
});
setImageUrl('assets/images/caseCenter/events/通用问题1.png');
setImageUrl(`${window.location.origin}/civweb4/assets/images/caseCenter/events/通用问题1.png`);
setIm('assets/images/caseCenter/events/通用问题1.png');
} else if (type === 'edit') {
setChee();
......@@ -643,7 +643,7 @@ const AddModal = props => {
form.setFieldsValue({
ImageExpression: 'assets/images/caseCenter/events/通用问题1.png',
});
setImageUrl('assets/images/caseCenter/events/通用问题1.png');
setImageUrl(`${window.location.origin}/civweb4/assets/images/caseCenter/events/通用问题1.png`);
setIm('assets/images/caseCenter/events/通用问题1.png');
}
LoadEventFields({
......
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