// 这里已修改ElSelect为示例 import ElementPlus, { ElSelect } from 'element-plus' ElSelect.props.clearable= { type: Boolean, default: true } // 注册全局组件 app.component('Pagination', Pagination) .use(createPinia()) .use(router) .use(Dictionary) .use(ElementPlus, { locale }) .use(i18n) .use(VXETable) .component('QtTable', QtTable) .mount('#app') // 全局设置表格斑马纹 const ElementComponents = app._context.components; ElementComponents.ElTable.props.stripe = { type: Boolean, default: true };