src/components/PIMTable/PIMTable.vue
@@ -26,6 +26,7 @@ type="selection" width="55" v-if="isSelection" :selectable="rowSelectable" /> <el-table-column align="center" label="序号" type="index" width="60" /> @@ -333,6 +334,11 @@ }, }); // 选择框禁用控制:行对象上如果有 disabled === true,则不允许选中 const rowSelectable = (row, index) => { return !row.disabled; }; // Data const uploadRefs = ref([]); const currentFiles = ref({});