Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
LhgDialog pop-up problem solution
no vote
When previous studies JEECG, found that the rapid development platform uses lhgDialog as a pop-up window solution After thorough research and found JEECG and no good solution to the problem of multi-layered pop-up window, after analysis, found to be in the acquisition and lhgDialog parent window itself. lhgDialog uses iframe pop-up mode, so need to get the form itself and the parent page by frameElement.api, frameElement.api.opener, Multi-window, then just get one more parent.frameElement.api; parent.frameElement.api.opener; you can also call in lhgDialog of Added parent page parameter parent: PWindowapi. Of course, preferably before joining the parent page parameter to judge, to determine whether there is a parent page. Another: when you close the window, the need to carefully deal with the issue of JS call, do not close the page after page of JS to do the operation itself, or easily reported insuffic
gone13
2016-08-23
0
1
No more~