Table checkbox problem when using elementUI

in the actual development, the table component of element is used, which includes checkbox. Found such a problem, every time you check a row of checkbox, click another button to display a dialog, the check state of the checkbox that just checked the row will disappear.

multipleSelection0checkboxmultipleSelection0bug


find a solution

I put a similar question on jsfiddle. After https://jsfiddle.net/rocky191.
selects a row, click Advanced search, and the selection state disappears. What"s going on? I"m in a hurry to solve the problem

.
Mar.05,2021

Table data data is calculated with calculation attributes. I'm not sure what's going on, though.

<el-table ref="czjlTable" v-loading="loading" :data="tableData" tooltip-effect="dark" stripe style="width: 100%" @selection-change="onSelectionChange">
            <el-table-column type="selection" width="55"></el-table-column>
            <el-table-column align="center" class-name="cursor" label="" show-overflow-tooltip width="120">
              <template slot-scope="scope">
                <span style="color:-sharp409eff;" @click="showJcInfo(scope.row)">{{scope.row.name}}</span>
              </template>
            </el-table-column>
            <el-table-column align="center" prop="hostName" label="" show-overflow-tooltip></el-table-column>
            <el-table-column align="center" prop="ip" label="IP" show-overflow-tooltip></el-table-column>
            <el-table-column align="center" prop="commandType" label="" show-overflow-tooltip></el-table-column>
            <el-table-column align="center" prop="startTime" label="" show-overflow-tooltip></el-table-column>
            <el-table-column align="center" prop="userTime" label="" show-overflow-tooltip></el-table-column>
            <el-table-column align="center" prop="username" label="" show-overflow-tooltip></el-table-column>
            <el-table-column align="center" class-name="cursor" label="" show-overflow-tooltip>
              <template slot-scope="scope">
                <span style="color:-sharp409eff;" @click="showExecute(scope.row)">{{scope.row.executeResult}}</span>
              </template>
            </el-table-column>
          </el-table>
computed: {
      tableData() {
        return this.czjlTableCon.slice((this.currentPage-1)*this.pageSize, this.currentPage*this.pageSize)
    }
  }

did you record the multipleSelection in the handleSelect method?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eab293-2031.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eab293-2031.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?