htc 9 godzin temu
rodzic
commit
a0a3689a91
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/modules/medal.vue

+ 1 - 1
src/views/modules/medal.vue

@@ -22,7 +22,7 @@
                         <el-button type="text" @click="handleEdit(scope.row)">编辑</el-button>
                         <el-button type="text" @click="handleEdit(scope.row)">编辑</el-button>
                         <!-- <el-button type="text" @click="handleOpenClose(1)">启用</el-button> -->
                         <!-- <el-button type="text" @click="handleOpenClose(1)">启用</el-button> -->
                         <!-- <el-button type="text" @click="handleOpenClose(0)">停用</el-button> -->
                         <!-- <el-button type="text" @click="handleOpenClose(0)">停用</el-button> -->
-                        <el-button type="text" @click="handleDelete" v-if="scope.row.isDefault==0">删除</el-button>
+                        <el-button type="text" @click="handleDelete(scope.row)" v-if="scope.row.isDefault==0">删除</el-button>
                     </template>
                     </template>
                 </el-table-column>
                 </el-table-column>
             </el-table>
             </el-table>