Skip to content

luci-app-oaf: fix applist not update after submit empty applist#289

Open
jjm2473 wants to merge 1 commit intodestan19:masterfrom
jjm2473:fix-zero-applist
Open

luci-app-oaf: fix applist not update after submit empty applist#289
jjm2473 wants to merge 1 commit intodestan19:masterfrom
jjm2473:fix-zero-applist

Conversation

@jjm2473
Copy link
Contributor

@jjm2473 jjm2473 commented Oct 15, 2025

when array is empty, luci return an object instead of an empty array.

lua 的json序列化是有问题的,会将空数组序列化成一个object,前端应该当成空数组处理。

when array is empty, luci return an object instead of an empty array.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant