qinzhipeng_v 5 rokov pred
rodič
commit
b50a4f29ce

+ 6 - 5
src/views/projectManage/iteration/components/requiredTable.vue

@@ -67,11 +67,11 @@
       show-overflow-tooltip="true"
       @selection-change="handleSelectionChange"
     >
-      <el-table-column :key="Math.random()" fixed width="35">
+      <el-table-column fixed width="35">
         <img style="display: inline-block; width: 8px; vertical-align: middle;" :src="image_role">
       </el-table-column>
-      <el-table-column :key="Math.random()" type="selection" fixed min-width="40" align="center" />
-      <el-table-column :key="Math.random()" type="expand" fixed width="40">
+      <el-table-column type="selection" fixed min-width="40" align="center" />
+      <el-table-column type="expand" fixed width="40">
         <template slot="header">
           <div class="expand"><i v-show="!allChange" class="el-icon-plus" @click="expandAll(true)" /></div>
           <div class="expand"><i v-show="allChange" class="el-icon-minus" @click="expandAll(false)" /></div>
@@ -80,7 +80,7 @@
           <iterationTable :id="props.row.id" :type-list="taskScheduleEvent" />
         </template>
       </el-table-column>
-      <el-table-column :key="Math.random()" label="优先级" fixed min-width="80" align="center">
+      <el-table-column label="优先级" fixed min-width="80" align="center">
         <template v-slot="scope">
           <div align="center">
             <div
@@ -100,7 +100,7 @@
           </div>
         </template>
       </el-table-column>
-      <el-table-column :key="Math.random()" label="需求名称" fixed min-width="250" show-overflow-tooltip>
+      <el-table-column label="需求名称" fixed min-width="250" show-overflow-tooltip>
         <template v-slot="scope">
           <div class="table-project-name" @click="clickRequiredName(scope.row.id)">
             <span class="id">{{ scope.row.requirementDisplayId }} <img v-if="scope.row.type === 1" :src="extraUrgent" style="height: 17px;padding: 0 10px;"></span>
@@ -212,6 +212,7 @@ export default {
       bizId: localStorage.getItem('bizId')
     }
   },
+
   created() {
     this.getTaskStatus()
   },