mirror of
https://gitcode.com/flipped-aurora/gin-vue-admin.git
synced 2026-05-21 06:37:48 +00:00
修复了在当前表格当前页删除为空的情况下页面被锁死的bug
This commit is contained in:
@@ -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();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user