fix(top): fix

This commit is contained in:
2026-03-19 18:03:41 +08:00
parent a6c83ef3f6
commit de91f1c9d8
4 changed files with 233 additions and 141 deletions

View File

@@ -1600,7 +1600,12 @@ const PaperContainer = (
)?.select_mode
switch (select_mode) {
case 2:
obj[key] = (value as string).split(",")
obj[key] = Array.isArray(value)
? value
: (value as string)
.split(",")
.map((item) => item.trim())
.filter(Boolean)
return
default:
obj[key] = value as string