diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-07-01 22:11:42 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-07-01 22:11:42 +0300 |
| commit | f9792632d43be95037dbd1c6e09994ca765e3c88 (patch) | |
| tree | 6e37c2b4e380f3cb90fc9286b509faa295d7ba35 | |
| parent | a9ec24f811fd8abda99173a87335bcf4819d9613 (diff) | |
pageSize default to 50
| -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", |
