diff options
Diffstat (limited to 'web')
| -rw-r--r-- | web/assets/js/model/setting.js | 2 | ||||
| -rw-r--r-- | web/html/xui/inbounds.html | 2 | ||||
| -rw-r--r-- | web/service/setting.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/web/assets/js/model/setting.js b/web/assets/js/model/setting.js index d9d0f4d4..4035ca6e 100644 --- a/web/assets/js/model/setting.js +++ b/web/assets/js/model/setting.js @@ -8,7 +8,7 @@ class AllSetting { this.webKeyFile = ""; this.webBasePath = "/"; this.sessionMaxAge = ""; - this.pageSize = 0; + this.pageSize = 50; this.expireDiff = ""; this.trafficDiff = ""; this.remarkModel = "-ieo"; diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index d756c02e..50630f51 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -664,7 +664,7 @@ tgBotEnable: false, showAlert: false, ipLimitEnable: false, - pageSize: 0, + pageSize: 50, isMobile: window.innerWidth <= 768, }, methods: { diff --git a/web/service/setting.go b/web/service/setting.go index bc5aeaa4..31fc1429 100644 --- a/web/service/setting.go +++ b/web/service/setting.go @@ -33,7 +33,7 @@ var defaultValueMap = map[string]string{ "secret": random.Seq(32), "webBasePath": "/", "sessionMaxAge": "0", - "pageSize": "0", + "pageSize": "50", "expireDiff": "0", "trafficDiff": "0", "remarkModel": "-ieo", |
