修改bug

develop
ihzero 2023-11-18 14:47:50 +08:00
parent 2dbf8dcb16
commit 3c31f08371
1 changed files with 9 additions and 2 deletions

View File

@ -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: '等级',