mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 08:38:18 +08:00
opt: create dynamic panel
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -97,7 +97,7 @@ class SearchHttp {
|
||||
if (pubEnd != null) 'pubtime_end_s': pubEnd,
|
||||
};
|
||||
var res = await Request().get(Api.searchByType, queryParameters: reqData);
|
||||
if (res.data['code'] == 0) {
|
||||
if (res.data['code'] is int && res.data['code'] == 0) {
|
||||
dynamic data;
|
||||
try {
|
||||
switch (searchType) {
|
||||
|
||||
Reference in New Issue
Block a user