1
0
mirror of synced 2025-12-09 07:08:22 +08:00

fix 分页类型声明 #2395

This commit is contained in:
xuliangzhan
2024-05-16 16:16:37 +08:00
parent 264630dcf7
commit 13f26450cf
5 changed files with 16 additions and 10 deletions

View File

@@ -44,8 +44,8 @@ export default defineComponent({
iconJumpNext: String as PropType<VxePagerPropTypes.IconJumpNext>,
iconNextPage: String as PropType<VxePagerPropTypes.IconNextPage>,
iconJumpMore: String as PropType<VxePagerPropTypes.IconJumpMore>,
iconHomePage: String as PropType<VxePagerPropTypes.IconHome>,
iconEndPage: String as PropType<VxePagerPropTypes.IconEnd>
iconHomePage: String as PropType<VxePagerPropTypes.IconHomePage>,
iconEndPage: String as PropType<VxePagerPropTypes.IconEndPage>
},
emits: [
'update:pageSize',

View File

@@ -6341,12 +6341,12 @@ export default defineComponent({
if (process.env.VUE_APP_VXE_TABLE_ENV === 'development') {
'openExport,openPrint,exportData,openImport,importData,saveFile,readFile,importByFile,print'.split(',').forEach(name => {
($xetable as any)[name] = function () {
errLog('vxe.error.reqModule', ['Export'])
errLog('vxe.error.reqModule', ['VxeTableExportModule'])
}
})
'clearValidate,fullValidate,validate'.split(',').forEach(name => {
($xetable as any)[name] = function () {
errLog('vxe.error.reqModule', ['Validator'])
errLog('vxe.error.reqModule', ['VxeTableValidatorModule'])
}
})
}

View File

@@ -110,13 +110,19 @@ export default defineComponent({
const handleClickSettingEvent = ({ $event }: any) => {
if ($xetable) {
$xetable.triggerCustomEvent($event)
if ($xetable.triggerCustomEvent) {
$xetable.triggerCustomEvent($event)
} else {
errLog('vxe.error.reqModule', ['VxeTableCustomModule'])
}
}
}
const handleMouseenterSettingEvent = ({ $event }: any) => {
if ($xetable) {
$xetable.customOpenEvent($event)
} else {
errLog('vxe.error.reqModule', ['VxeTableCustomModule'])
}
}