Commit 6e46ce96 authored by 涂伟's avatar 涂伟

Merge branch 'master' of https://g.civnet.cn:8443/tianxiang/xform

parents 3602c00a 0540e3f7
import React from 'react'
const TagPack = (props) => {
const { value } = props
return (
<div>{value}</div>
)
}
export default TagPack
\ No newline at end of file
......@@ -2,6 +2,7 @@ import React, { useMemo } from 'react'
import { Table, Tooltip } from 'antd'
import FileView from './components/FileView'
import CoordView from './components/CoordView'
import TagPack from './components/TagPack'
const TablePack = (props) => {
......@@ -15,6 +16,10 @@ const TablePack = (props) => {
return <CoordView {...props} />
}
if (['RadioButton', 'CheckBox'].includes(widget)) {
return <TagPack {...props} />
}
return (
<div>{value}</div>
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment