修复了在当前表格当前页删除为空的情况下页面被锁死的bug

This commit is contained in:
QM303176530
2020-12-27 17:20:54 +08:00
parent 5c78ecc2d3
commit 2547ba88ae
18 changed files with 351 additions and 303 deletions

View File

@@ -62,7 +62,7 @@
<el-button @click="enterDialog" type="primary"> </el-button>
</div>
</el-dialog>
<div class="tips"> 在资源权限中将此角色的资源权限清空 或者不包含创建者的角色 即可屏蔽此客户资源的显示</div>
<div class="tips">在资源权限中将此角色的资源权限清空 或者不包含创建者的角色 即可屏蔽此客户资源的显示</div>
</div>
</template>
@@ -124,8 +124,11 @@ export default {
if (res.code == 0) {
this.$message({
type: "success",
message: "删除成功"
message: ""
});
if (this.tableData.length == 1) {
this.page--;
}
this.getTableData();
}
},