Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
53b24bc2
"backend/internal/handler/vscode:/vscode.git/clone" did not exist on "53f919f8f07ad386126dfa9fb5c6b5c69dca6c3e"
Commit
53b24bc2
authored
Apr 27, 2026
by
KnowSky404
Browse files
fix: tighten account bulk edit target typing
parent
a161f9d0
Changes
1
Show whitespace changes
Inline
Side-by-side
frontend/src/views/admin/AccountsView.vue
View file @
53b24bc2
...
@@ -318,7 +318,7 @@
...
@@ -318,7 +318,7 @@
:
account
-
ids
=
"
selIds
"
:
account
-
ids
=
"
selIds
"
:
selected
-
platforms
=
"
selPlatforms
"
:
selected
-
platforms
=
"
selPlatforms
"
:
selected
-
types
=
"
selTypes
"
:
selected
-
types
=
"
selTypes
"
:
target
=
"
bulkEditTarget
"
:
target
=
"
bulkEditTarget
?? undefined
"
:
proxies
=
"
proxies
"
:
proxies
=
"
proxies
"
:
groups
=
"
groups
"
:
groups
=
"
groups
"
@
close
=
"
showBulkEdit = false
"
@
close
=
"
showBulkEdit = false
"
...
@@ -1262,6 +1262,7 @@ const handleBulkToggleSchedulable = async (schedulable: boolean) => {
...
@@ -1262,6 +1262,7 @@ const handleBulkToggleSchedulable = async (schedulable: boolean) => {
}
}
const
buildBulkEditFilterSnapshot
=
()
=>
{
const
buildBulkEditFilterSnapshot
=
()
=>
{
const
rawParams
=
toRaw
(
params
)
as
Record
<
string
,
unknown
>
const
rawParams
=
toRaw
(
params
)
as
Record
<
string
,
unknown
>
const
sortOrder
:
AccountSortOrder
=
rawParams
.
sort_order
===
'
desc
'
?
'
desc
'
:
'
asc
'
return
{
return
{
platform
:
typeof
rawParams
.
platform
===
'
string
'
?
rawParams
.
platform
:
''
,
platform
:
typeof
rawParams
.
platform
===
'
string
'
?
rawParams
.
platform
:
''
,
type
:
typeof
rawParams
.
type
===
'
string
'
?
rawParams
.
type
:
''
,
type
:
typeof
rawParams
.
type
===
'
string
'
?
rawParams
.
type
:
''
,
...
@@ -1270,7 +1271,7 @@ const buildBulkEditFilterSnapshot = () => {
...
@@ -1270,7 +1271,7 @@ const buildBulkEditFilterSnapshot = () => {
search
:
typeof
rawParams
.
search
===
'
string
'
?
rawParams
.
search
:
''
,
search
:
typeof
rawParams
.
search
===
'
string
'
?
rawParams
.
search
:
''
,
privacy_mode
:
typeof
rawParams
.
privacy_mode
===
'
string
'
?
rawParams
.
privacy_mode
:
''
,
privacy_mode
:
typeof
rawParams
.
privacy_mode
===
'
string
'
?
rawParams
.
privacy_mode
:
''
,
sort_by
:
typeof
rawParams
.
sort_by
===
'
string
'
?
rawParams
.
sort_by
:
''
,
sort_by
:
typeof
rawParams
.
sort_by
===
'
string
'
?
rawParams
.
sort_by
:
''
,
sort_order
:
rawParams
.
sort
_o
rder
===
'
desc
'
?
'
desc
'
:
'
asc
'
sort_order
:
sort
O
rder
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment