Parcourir la source

fix: 调整删除事件

Howie il y a 1 an
Parent
commit
7d8959b3d7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/setting/engineeringSubAccount.vue

+ 1 - 1
src/views/setting/engineeringSubAccount.vue

@@ -58,7 +58,7 @@
             <template slot-scope="scope">
               <el-button type="text" @click="addOrEdit('edit', scope.row)">编辑</el-button>
               <el-button type="text" @click="addOrEdit('password', scope.row)">重置密码</el-button>
-              <el-popconfirm style="margin-left: 20px;" title="确定删除吗?" @onConfirm="handleDel(scope.row)">
+              <el-popconfirm style="margin-left: 20px;" title="确定删除吗?" @confirm="handleDel(scope.row)">
                 <el-button slot="reference" type="text" size="mini"> 删除 </el-button>
               </el-popconfirm>
               <!-- <el-button