|
|
@@ -101,7 +101,8 @@ class Menu {
|
|
|
*/
|
|
|
open() {
|
|
|
this.runLocalHooks('beforeOpen');
|
|
|
-
|
|
|
+ // 2021-02-24 zhang createContainer里面先查找是否存在,有则返回。 如果不这样做的话,element-tabs 设置成lazzy后,后加载的页面会冲掉之前页面的右键菜单
|
|
|
+ this.container = this.createContainer(this.options.name);
|
|
|
this.container.removeAttribute('style');
|
|
|
this.container.style.display = 'block';
|
|
|
|