Commit a1c88759 authored by 杨思琦's avatar 杨思琦

fix: 消息跳转修改

parent 3653a049
Pipeline #83724 passed with stages
......@@ -303,6 +303,20 @@ const CheckAllMessage = props => {
return;
}
if (/^((http|https):)?\/\/([\w.]+\/?)\S*/.test(val.web_path)) {
if (val.id == 0) {
window.open(val.web_path);
} else {
noticeService
.postInformationStatus({ userID: window.globalConfig.userInfo.OID, hisID: val.hisID })
.then(res => {
sortChange(1);
window.open(val.web_path);
});
}
return;
}
const params = GetUrlParam(val.web_path);
if (!params.widget) {
notification.error({ message: '提示', duration: 3, description: '未配置跳转路径' });
......
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