From 813bab524f7803987043b072157259fbdceb6228 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期一, 11 十二月 2023 17:41:20 +0800 Subject: [PATCH] modified: src/views/plan/manufacturingorder/index.vue --- src/views/common/ztt-table.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/common/ztt-table.vue b/src/views/common/ztt-table.vue index 4776dca..37f0ef7 100644 --- a/src/views/common/ztt-table.vue +++ b/src/views/common/ztt-table.vue @@ -149,11 +149,7 @@ v-bind="$attrs" v-on="$listeners" :highlight-current-row="true" - :row-key=" - (row) => { - return row.id - } - " + :row-key="rowKey" @row-dblclick="dbClickRow" @row-contextmenu="contextMenu" @header-click="headClick" @@ -563,6 +559,12 @@ name: 'TTable', components: { exSlot, advancedSearchDialog, zttdraggable }, props: { + rowKey: { + type: String, + default: ()=>{ + return 'id' + } + }, // 琛ㄦ牸鍨嬪彿锛歮ini,medium,small tableSize: { type: String, default: 'small' }, // 鏁版嵁璇锋眰鏂规硶 @@ -1399,7 +1401,6 @@ } } } - console.log(this.multipleSelection) this.$emit('handleSelectionChange', this.multipleSelection) } else { this.multipleSelection = val @@ -1534,7 +1535,6 @@ } } } - console.log(this.columnList); this.tableKey = Math.random() // this.$forceUpdate(); const currPathColumnOrder = this.currPath + '_column' -- Gitblit v1.9.3