javascript - Dialog display abnormality when using easyui
怪我咯2017-06-12 09:27:19
0
2
977
Every time after refreshing the page, the dialog pops up normally when you click the link for the first time. When you click it again, it will look like the following. The size and title display are not normal. Have you experienced this?
Is the label of your dialog under a certain label instead of <html>, causing the label to be abnormal? When you set the dialog, pass in the height and width
Finally found it. The debugger debugged it bit by bit because the id name of the Window where the embedded page is located is repeated with others. There is such a judgment in the code if ($("#" + paramJson.inpId).html( ) == "true") {No need to redraw the window}, so first open another Window with the same name, and then the above situation will occur when you open this window, and the window will not be redrawn.
Is the label of your dialog under a certain label instead of <html>, causing the label to be abnormal? When you set the dialog, pass in the height and width
Finally found it. The debugger debugged it bit by bit because the id name of the Window where the embedded page is located is repeated with others. There is such a judgment in the code if ($("#" + paramJson.inpId).html( ) == "true") {No need to redraw the window}, so first open another Window with the same name, and then the above situation will occur when you open this window, and the window will not be redrawn.