fix: 解决类型检测报错

This commit is contained in:
kailong321200875
2023-07-26 15:15:13 +08:00
parent 82245ee6d0
commit 28bf8bee45
5 changed files with 259 additions and 259 deletions

View File

@@ -7,7 +7,7 @@ import { reactive, unref } from 'vue'
import { ElTag, ElButton } from 'element-plus'
import { useTable } from '@/hooks/web/useTable'
const { tableRegister, tableState, tableMethods } = useTable({
const { tableRegister, tableState } = useTable({
fetchDataApi: async () => {
const { currentPage, pageSize } = tableState
const res = await getTreeTableListApi({
@@ -21,7 +21,6 @@ const { tableRegister, tableState, tableMethods } = useTable({
}
})
const { loading, dataList, total, currentPage, pageSize } = tableState
const { sortableChange } = tableMethods
const { t } = useI18n()
@@ -106,7 +105,6 @@ const actionFn = (data: TableSlotDefault) => {
total: total
}"
@register="tableRegister"
@sortable-change="sortableChange"
/>
</ContentWrap>
</template>