Unverified Commit ec54e0e6 authored by iis8's avatar iis8 Committed by GitHub

fix:嵌套popup使用时不显示菜单 (#1263)

parent 845bf259
...@@ -172,6 +172,8 @@ ...@@ -172,6 +172,8 @@
}, },
// 打开下拉菜单 // 打开下拉菜单
open(index) { open(index) {
// 嵌套popup使用时可能获取不到正确的高度,重新计算
if (this.contentHeight < 1) this.getContentHeight()
// 重置高亮索引,否则会造成多个菜单同时高亮 // 重置高亮索引,否则会造成多个菜单同时高亮
// this.highlightIndex = 9999; // this.highlightIndex = 9999;
// 展开时,设置下拉内容的样式 // 展开时,设置下拉内容的样式
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment