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' } }, // 表格型号:mini,medium,small tableSize: { type: String, default: 'small' }, // 数据请求方法