Table: Fixed #3896 (#4023)

* Table: Fixed #3896

* Table: fixed filter-panel format

* Table: fixed filter-panel.vue
This commit is contained in:
liyl 2017-04-07 13:52:38 +08:00 committed by Cyril Su
parent 3bb5b5e7d4
commit 29162c76f1

View File

@ -32,6 +32,7 @@
<script type="text/babel">
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 Clickoutside from 'element-ui/src/utils/clickoutside';
import Dropdown from './dropdown';
@ -175,6 +176,13 @@
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>