// utils/element-ui-preprocessing.js import ElementUI from 'element-ui' // Fixes an issue with filters not working on mobile ElementUI.Select.computed.readonly = function() { if (!this.filterable) return true // trade-off for IE input readonly problem: https://github.com/ElemeFE/element/issues/10403 const isIE = !this.$isServer && !Number.isNaN(Number(document.documentMode)) return !(this.filterable || this.multiple || !isIE) && !this.visible } export default ElementUI