From b5c13420a53e3cb20fb6bfbf709a2e18295de0e1 Mon Sep 17 00:00:00 2001 From: yangduo Date: Tue, 6 Aug 2024 15:19:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/gameswitch/index.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/gameswitch/index.vue b/src/views/gameswitch/index.vue index c091a06..0531488 100644 --- a/src/views/gameswitch/index.vue +++ b/src/views/gameswitch/index.vue @@ -162,6 +162,9 @@ export default { }).then(() => { delGameSwitch({ switch_name: row.switch_name }).then(response => { if (response.code === 0) { + if (this.gameSwitchList.length === 1 && this.curpage === this.totalpage && this.curpage > 1) { + this.curpage-- + } this.getList() this.$notify({ title: 'Success',