yyb
昨天 132c4132360f9dc103e4c9f5bbc8cc36d1429e43
src/views/safeProduction/hazardousMaterialsControl/index.vue
@@ -653,15 +653,7 @@
  // 选择变化处理
  const handleSelectionChange = selection => {
    // 主表格也只保留最后一个选中的项
    if (selection.length > 1) {
      const lastSelected = selection[selection.length - 1];
      selectedIds.value = [lastSelected.id];
    } else if (selection.length === 1) {
      selectedIds.value = [selection[0].id];
    } else {
      selectedIds.value = [];
    }
    selectedIds.value = selection.map(item => item.id);
  };
  // 打开表单