代码优化

This commit is contained in:
仲么了
2023-12-29 16:30:26 +08:00
parent 1a826fb0fa
commit de3e42282e
7 changed files with 162 additions and 199 deletions

View File

@@ -39,7 +39,7 @@
:row='scope.row'
:column='scope.column'
:index='scope.rowIndex'
:key='child.field+scope.rowIndex'
:key=" key + '-' + child.render + '-' + (child.field ? '-' + child.field + '-' + scope.row[child.field] : '')"
/>
</template>
</Column>
@@ -59,8 +59,7 @@
:row='scope.row'
:column='scope.column'
:index='scope.rowIndex'
:key='item.field+scope.rowIndex'
/>
:key=" key + '-' +item.render +'-' +(item.field ? '-' + item.field + '-' + scope.row[item.field] : '')" />
</template>
</Column>