Commit 14295c51 authored by 何远江's avatar 何远江

解析结果附加信息展示条件添加

parent 47293dba
......@@ -136,6 +136,7 @@
show-overflow="tooltip"
:data="runResultData"
border
:expand-config="expandConfig"
height="500"
>
<vxe-column title="行号" type="expand" width="120">
......@@ -698,6 +699,14 @@ const filterRunDataTitle = (data: any) => {
const filterObjKeys = (data: any) => {
return Object.keys(data)
}
const expandConfig = reactive({
visibleMethod({ row }) {
if (row.expandData !== undefined && typeof row.expandData === 'object') {
return true
}
return false
}
})
onMounted(() => {
loadExcel()
......
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