代码优化
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user