File tree 3 files changed +3
-4
lines changed
views/settings/components/config/components
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ const handleGlobalPauseBtnClick = async () => {
32
32
try {
33
33
await endpointStore .updateGlobalConfig ({ globalPaused: false })
34
34
Message .warning (t (' global.pause.pauseAll.stop' ))
35
- unbanIP (' *' )
36
35
return true
37
36
} catch (e ) {
38
37
if (e instanceof Error ) {
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ export async function getBanList(
17
17
if ( lastBanTime ) {
18
18
url . searchParams . set ( 'lastBanTime' , String ( lastBanTime ) )
19
19
}
20
- if ( search && search !== '' ) {
21
- url . searchParams . set ( 'search' , search )
20
+ if ( search && search . trim ( ) !== '' ) {
21
+ url . searchParams . set ( 'search' , encodeURIComponent ( search . trim ( ) ) )
22
22
}
23
23
return fetch ( url , {
24
24
headers : getCommonHeader ( )
Original file line number Diff line number Diff line change 41
41
<a-form-item
42
42
:label =" t('page.settings.tab.config.proxy.port')"
43
43
field =" proxy.port"
44
- validate-trigger =" focus "
44
+ validate-trigger =" blur "
45
45
:disabled =" proxyModel.setting < ProxySetting.HTTP_PROXY"
46
46
:rules =" [
47
47
{
You can’t perform that action at this time.
0 commit comments