版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/berryreload/article/details/71735719
oPanel.removeAllContent();
oPanel.addContent(myView);
参考:
http://jsbin.com/aku_switch_views/1/edit?html,css,js,output
oPanel.removeAllContent();
oPanel.addContent(myView);
参考:
http://jsbin.com/aku_switch_views/1/edit?html,css,js,output