Solve the unresponsive exception of easyui layout top page logout

Encountered problems:

        When using easyui for layout, we add the logout and logout user button functions to the top page as shown in Figure 1, but the script execution does not respond when clicking logout and logout!

 

problem causes:

        The scope of js is this page, and easyui layout loading is to combine multiple pages into one page. Then the problem is very clear, I added the body tag to the top page.

 

Solution:

         1. Delete the <body/> tag in your top page.

          2. Add the <iframe/> tag to your north module.


 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327059264&siteId=291194637