src/views/system/post/index.vue
@@ -109,6 +109,7 @@ <el-button size="mini" type="text" class="del-btn" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['system:post:remove']" @@ -293,7 +294,7 @@ /** 删除按钮操作 */ handleDelete(row) { const postIds = row.postId || this.ids; this.$modal.confirm('是否确认删除岗位编号为"' + postIds + '"的数据项?').then(function() { this.$modal.confirm('是否确认删除?').then(function() { return delPost(postIds); }).then(() => { this.getList();