update: page issue template

This commit is contained in:
sanfan.hx
2019-08-13 14:26:41 +08:00
parent 64664959e6
commit c366806a1f
4 changed files with 29 additions and 9 deletions

View File

@ -188,7 +188,7 @@ class DataUtils {
"name": json['name'],
"cnName": json['name'],
"routerName": routerName,
"catId": int.parse(json['parentId'])
"catId": json['parentId'].runtimeType == String ? int.parse(json['parentId']) : json['parentId']
};
list.add(WidgetPoint.fromJSON(tempMap));
}