修改bug
parent
2dbf8dcb16
commit
3c31f08371
|
|
@ -1,11 +1,14 @@
|
|||
import { BasicColumn, FormSchema } from '/@/components/Table'
|
||||
import { BasicColumn, FormSchema, ActionItem } from '/@/components/Table'
|
||||
|
||||
import dayjs from 'dayjs'
|
||||
import { h } from 'vue'
|
||||
import { Tag } from 'ant-design-vue'
|
||||
import { Tag, Tooltip } from 'ant-design-vue'
|
||||
import { ColEx } from '../../../components/Form/src/types'
|
||||
// import { formatDataByObject } from '/@/utils/index'
|
||||
// import { getGriculturalDeviceBasic, getaGriculturalDevicePoint } from '/@/api/sys/user'
|
||||
|
||||
import TableAction from '/@/components/Table/src/components/TableAction.vue'
|
||||
|
||||
const colProps: Partial<ColEx> = {
|
||||
xs: 24,
|
||||
sm: 12,
|
||||
|
|
@ -95,6 +98,10 @@ export const columns: BasicColumn[] = [
|
|||
{
|
||||
title: '内容',
|
||||
dataIndex: 'content',
|
||||
|
||||
customRender: ({ text }) => {
|
||||
return h(Tooltip, { placement: 'bottom', title: text }, () => text)
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '等级',
|
||||
|
|
|
|||
Loading…
Reference in New Issue