bug修复

This commit is contained in:
hongchao 2025-03-21 15:21:37 +08:00
parent 153e4790b2
commit c169b984ee
2 changed files with 6 additions and 1 deletions

View File

@ -40,7 +40,7 @@
prop="typeName" prop="typeName"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column type="expand"> <el-table-column type="expand" v-if="isExpand">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="nested-table-container"> <div class="nested-table-container">
<el-table :data="scope.row.maTypeDetails" style="width: 100%"> <el-table :data="scope.row.maTypeDetails" style="width: 100%">
@ -153,6 +153,10 @@ export default {
type: Object, type: Object,
default: {}, default: {},
}, },
isExpand: {
type: Boolean,
default: true,
}
}, },
watch: { watch: {
isShowFlag(val) { isShowFlag(val) {

View File

@ -257,6 +257,7 @@
:isShowFlag.sync="isShowOneFlag" :isShowFlag.sync="isShowOneFlag"
:rowObj="rowObj" :rowObj="rowObj"
:priKey="priKey" :priKey="priKey"
:isExpand="false"
></dialogForm> ></dialogForm>
</div> </div>
</template> </template>