} this.$confirm('您确定删除吗?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(res=>{ this.loading=true deleteAction(path.join(this.url.delete, record.id)) /* this.list()*/ this.reload() this.$message.success("删除成功"); this.loading=false } ).catch((err)=>{ this.$message.warning("删除失败"); }) .finally( this.list() ); },