task#15950,搜索的supplierId需要传递
This commit is contained in:
@ -358,7 +358,14 @@ export default {
|
|||||||
if (window.parent) {
|
if (window.parent) {
|
||||||
const hasListener = window.parent.dispatchEvent(new Event('checkCloseDialog'));
|
const hasListener = window.parent.dispatchEvent(new Event('checkCloseDialog'));
|
||||||
if (hasListener) {
|
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 {
|
} else {
|
||||||
window.history.back();
|
window.history.back();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user