mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
opt: parse sys msg (#1770)
This commit is contained in:
committed by
GitHub
parent
773bdafec3
commit
ff4f97de1a
@@ -278,7 +278,12 @@ abstract class PageUtils {
|
||||
);
|
||||
}
|
||||
|
||||
static Future<void> pushDynFromId({id, rid, bool off = false}) async {
|
||||
static Future<void> pushDynFromId({
|
||||
String? id,
|
||||
Object? rid,
|
||||
bool off = false,
|
||||
}) async {
|
||||
assert(id != null || rid != null);
|
||||
SmartDialog.showLoading();
|
||||
final res = await DynamicsHttp.dynamicDetail(
|
||||
id: id,
|
||||
@@ -292,7 +297,7 @@ abstract class PageUtils {
|
||||
toDupNamed(
|
||||
'/articlePage',
|
||||
parameters: {
|
||||
'id': id,
|
||||
'id': id!,
|
||||
'type': 'opus',
|
||||
},
|
||||
off: off,
|
||||
|
||||
Reference in New Issue
Block a user