task#15950,搜索的supplierId需要传递

This commit is contained in:
2024-11-14 16:06:10 +08:00
parent 3bb4688652
commit 4e8e6d4f72

View File

@ -358,7 +358,14 @@ export default {
if (window.parent) {
const hasListener = window.parent.dispatchEvent(new Event('checkCloseDialog'));
if (hasListener) {
window.parent.postMessage('closeDialog', '*');
console.log("this.supplierId",this.supplierId)
const data = {
action: 'closeDialog',
message: this.supplierId,
// 其他需要传递的参数
};
window.parent.postMessage(data, '*');
// window.parent.postMessage('closeDialog', '*');
} else {
window.history.back();
}