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:
@@ -24,10 +24,10 @@ class DependencyBean {
|
||||
|
||||
DependencyBean.fromJson(Map<String, dynamic> json) {
|
||||
sId = json['_id'];
|
||||
created = json['created'];
|
||||
created = int.tryParse(json['created'].toString());
|
||||
status = json['status'];
|
||||
type = json['type'];
|
||||
timestamp = json['timestamp'];
|
||||
timestamp = json['timestamp'].toString();
|
||||
name = json['name'];
|
||||
log = json['log'].cast<String>();
|
||||
remark = json['remark'];
|
||||
|
||||
@@ -13,7 +13,7 @@ class LoginLogBean {
|
||||
{this.timestamp, this.address, this.ip, this.platform, this.status});
|
||||
|
||||
LoginLogBean.fromJson(Map<String, dynamic> json) {
|
||||
timestamp = json['timestamp'];
|
||||
timestamp = int.tryParse(json['timestamp'].toString());
|
||||
address = json['address'];
|
||||
ip = json['ip'];
|
||||
platform = json['platform'];
|
||||
|
||||
@@ -116,9 +116,11 @@ class _OtherPageState extends ConsumerState<OtherPage> {
|
||||
);
|
||||
},
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
vertical: 8,
|
||||
horizontal: 15,
|
||||
padding: const EdgeInsets.only(
|
||||
top: 8,
|
||||
bottom: 15,
|
||||
left: 15,
|
||||
right: 15,
|
||||
),
|
||||
child: Row(
|
||||
children: [
|
||||
@@ -206,9 +208,11 @@ class _OtherPageState extends ConsumerState<OtherPage> {
|
||||
},
|
||||
behavior: HitTestBehavior.opaque,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
vertical: 10,
|
||||
horizontal: 15,
|
||||
padding: const EdgeInsets.only(
|
||||
top: 8,
|
||||
bottom: 15,
|
||||
left: 15,
|
||||
right: 15,
|
||||
),
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
|
||||
Reference in New Issue
Block a user