2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 05:31:44 +08:00

fix: lint

This commit is contained in:
2026-01-29 20:26:54 +08:00
parent f0f4b4f692
commit 15287b5bce

View File

@@ -377,7 +377,6 @@ const isCacheEnabled = (proxy: any) => {
const addCacheValidRule = (proxy: any) => {
if (!proxy.cache) return
if (!proxy.cache.valid) proxy.cache.valid = {}
const index = Object.keys(proxy.cache.valid).length + 1
proxy.cache.valid[`any`] = '5m'
}
@@ -1464,7 +1463,8 @@ const removeCustomConfig = (index: number) => {
:min="1"
flex-1
@update:value="
(v: number | null) => updateProxyTimeoutValue(proxy, 'connect', v ?? 1)
(v: number | null) =>
updateProxyTimeoutValue(proxy, 'connect', v ?? 1)
"
/>
<n-select
@@ -1484,7 +1484,8 @@ const removeCustomConfig = (index: number) => {
:min="1"
flex-1
@update:value="
(v: number | null) => updateProxyTimeoutValue(proxy, 'read', v ?? 1)
(v: number | null) =>
updateProxyTimeoutValue(proxy, 'read', v ?? 1)
"
/>
<n-select
@@ -1504,7 +1505,8 @@ const removeCustomConfig = (index: number) => {
:min="1"
flex-1
@update:value="
(v: number | null) => updateProxyTimeoutValue(proxy, 'send', v ?? 1)
(v: number | null) =>
updateProxyTimeoutValue(proxy, 'send', v ?? 1)
"
/>
<n-select