mirror of https://github.com/ElemeFE/element
* Table: Fixed #3896 * Table: fixed filter-panel format * Table: fixed filter-panel.vuepull/4061/head
parent
3bb5b5e7d4
commit
29162c76f1
|
@ -32,6 +32,7 @@
|
||||||
|
|
||||||
<script type="text/babel">
|
<script type="text/babel">
|
||||||
import Popper from 'element-ui/src/utils/vue-popper';
|
import Popper from 'element-ui/src/utils/vue-popper';
|
||||||
|
import { PopupManager } from 'element-ui/src/utils/popup';
|
||||||
import Locale from 'element-ui/src/mixins/locale';
|
import Locale from 'element-ui/src/mixins/locale';
|
||||||
import Clickoutside from 'element-ui/src/utils/clickoutside';
|
import Clickoutside from 'element-ui/src/utils/clickoutside';
|
||||||
import Dropdown from './dropdown';
|
import Dropdown from './dropdown';
|
||||||
|
@ -175,6 +176,13 @@
|
||||||
Dropdown.close(this);
|
Dropdown.close(this);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
showPopper(val) {
|
||||||
|
if (val === true && parseInt(this.popperJS._popper.style.zIndex, 10) < PopupManager.zIndex) {
|
||||||
|
this.popperJS._popper.style.zIndex = PopupManager.nextZIndex();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue