chore: 移除调试代码
This commit is contained in:
parent
7ec3cfb3fd
commit
a7d9697397
@ -9,7 +9,11 @@ import { $t } from '@vben/locales';
|
|||||||
import { Modal, Space } from 'ant-design-vue';
|
import { Modal, Space } from 'ant-design-vue';
|
||||||
import { isEmpty } from 'lodash-es';
|
import { isEmpty } from 'lodash-es';
|
||||||
|
|
||||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
import {
|
||||||
|
useVbenVxeGrid,
|
||||||
|
vxeCheckboxChecked,
|
||||||
|
type VxeGridProps,
|
||||||
|
} from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
operLogClean,
|
operLogClean,
|
||||||
operLogDelete,
|
operLogDelete,
|
||||||
@ -138,11 +142,6 @@ function handleDownloadExcel() {
|
|||||||
fieldMappingTime: formOptions.fieldMappingTime,
|
fieldMappingTime: formOptions.fieldMappingTime,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function isChecked() {
|
|
||||||
console.log('触发');
|
|
||||||
return tableApi?.grid?.getCheckboxRecords?.()?.length > 0;
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@ -163,7 +162,7 @@ function isChecked() {
|
|||||||
{{ $t('pages.common.export') }}
|
{{ $t('pages.common.export') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button
|
<a-button
|
||||||
:disabled="!isChecked()"
|
:disabled="!vxeCheckboxChecked(tableApi)"
|
||||||
danger
|
danger
|
||||||
type="primary"
|
type="primary"
|
||||||
v-access:code="['monitor:operlog:remove']"
|
v-access:code="['monitor:operlog:remove']"
|
||||||
|
Loading…
Reference in New Issue
Block a user