调整
This commit is contained in:
parent
8fea8fcecd
commit
b5c13420a5
@ -162,6 +162,9 @@ export default {
|
|||||||
}).then(() => {
|
}).then(() => {
|
||||||
delGameSwitch({ switch_name: row.switch_name }).then(response => {
|
delGameSwitch({ switch_name: row.switch_name }).then(response => {
|
||||||
if (response.code === 0) {
|
if (response.code === 0) {
|
||||||
|
if (this.gameSwitchList.length === 1 && this.curpage === this.totalpage && this.curpage > 1) {
|
||||||
|
this.curpage--
|
||||||
|
}
|
||||||
this.getList()
|
this.getList()
|
||||||
this.$notify({
|
this.$notify({
|
||||||
title: 'Success',
|
title: 'Success',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user