mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-10 18:58:37 +08:00
refactor: 优化 GiTable 列类型使用
This commit is contained in:
@@ -44,7 +44,8 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { listOnlineUser, kickout } from '@/apis'
|
||||
import { Message, type TableInstance } from '@arco-design/web-vue'
|
||||
import { Message } from '@arco-design/web-vue'
|
||||
import type { TableInstanceColumns } from '@/components/GiTable/type'
|
||||
import DateRangePicker from '@/components/DateRangePicker/index.vue'
|
||||
import { useUserStore } from '@/stores'
|
||||
import { useTable } from '@/hooks'
|
||||
@@ -52,7 +53,7 @@ import { isMobile } from '@/utils'
|
||||
|
||||
defineOptions({ name: 'OnlineUser' })
|
||||
|
||||
const columns: TableInstance['columns'] = [
|
||||
const columns: TableInstanceColumns[] = [
|
||||
{
|
||||
title: '序号',
|
||||
width: 66,
|
||||
|
Reference in New Issue
Block a user