mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
修改bug
This commit is contained in:
2
lib/module/env/env_bean.dart
vendored
2
lib/module/env/env_bean.dart
vendored
@@ -15,7 +15,7 @@ class EnvBean {
|
||||
EnvBean.fromJson(Map<String, dynamic> json) {
|
||||
value = json['value'];
|
||||
sId = json.containsKey('_id') ? json['_id'].toString() : (json.containsKey('id') ? json['id'].toString() : "");
|
||||
created = json['created'];
|
||||
created = int.tryParse(json['created'].toString());
|
||||
status = json['status'];
|
||||
timestamp = json['timestamp'];
|
||||
name = json['name'];
|
||||
|
||||
Reference in New Issue
Block a user