tangning 3 godzin temu
rodzic
commit
ce4801d53b
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/view/material/tableScene/sceneContent.vue

+ 2 - 2
src/view/material/tableScene/sceneContent.vue

@@ -7,9 +7,10 @@
     style="width: 100%;height: 250px;"
     :height="250"
     size="large"
+    @select="handleSelect"
     @selection-change="changeSelection"
   >
-    <!-- @select="handleSelect" -->
+    <!--  -->
     <!-- -1 计算失败  0 计算中 1 计算成功并可以外网访问,不能编辑 2计算成功只能内网,能编辑 -->
     <el-table-column type="selection" :selectable="selectable" width="55" />
     <!-- <el-table-column label="序号" width="70" v-slot:default="{ $index }">
@@ -82,7 +83,6 @@ const handleSelect = (selection, row) => {
   if (!tableRef.value) return;
   tableRef.value.clearSelection()
   tableRef.value.toggleRowSelection(row, true)
-  num.value = row
 }
 const changeSelection = async (selectScenes) => {
   console.log("selectScenes", num.value, selectScenes);