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

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

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