When using the menu layui achieve results, refresh the page again to the home state, the need to achieve a sub-page refresh iframe parent element does not refresh, here is the code
// disable F5 to refresh when the default event $ (the Document) .keydown (function ( Event ) { IF ( Event .keyCode == 116 ) { Event .preventDefault (); // Organization default refresh right1.attr ( ' src ' , dataUrl); // refers to a sub-page the iframe the src } });