extends StatefulWidget {
XStatefulWidget({super.key, this.routeData, data}) {
this.data =
data ?? RoutePages.getRouteParams() ?? RoutePages.getParentRouteParam();
- this.entity = RoutePages.getParentRouteParam();
+ entity = RoutePages.getParentRouteParam();
}
}
diff --git a/lib/components/XText/XText.dart b/lib/components/XText/XText.dart
index b0dc3ff5460c5f558cb7d43fb8d151a02e99a816..2817f1f2f98788da905446a74790ddfa4575538f 100644
--- a/lib/components/XText/XText.dart
+++ b/lib/components/XText/XText.dart
@@ -3,7 +3,6 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:orginone/components/XText/components/TextTag.dart';
import 'package:orginone/dart/extension/ex_list.dart';
import 'package:orginone/dart/extension/ex_widget.dart';
-import 'package:orginone/utils/log/log_util.dart';
import '../../config/theme/space.dart';
import '../../config/theme/unified_style.dart';
diff --git a/lib/components/form/components/XChoice/XChoice.dart b/lib/components/form/components/XChoice/XChoice.dart
index 237192706db884a5c30e4f94c85b81ee6ee3f37d..3ba3fa06367c6aea1c17671f88ed31264a6a46e9 100644
--- a/lib/components/form/components/XChoice/XChoice.dart
+++ b/lib/components/form/components/XChoice/XChoice.dart
@@ -16,7 +16,7 @@ class XChoice> all(
@@ -42,7 +41,7 @@ class XCollection
> find(
@@ -162,7 +161,7 @@ class XCollection
> loadSpaceNew(dynamic options,
[T Function(Map
>(
- this._target.id,
- this._target.belongId!,
- this._relations,
- this._collName,
+ _target.id,
+ _target.belongId!,
+ _relations,
+ _collName,
options,
fromJson: (data) {
return Lists.fromList(data['data'] is List ? data['data'] : [],
@@ -316,8 +315,8 @@ class XCollection
>(
_target.id,
_target.belongId!,
- this._relations,
- this._collName,
+ _relations,
+ _collName,
data,
copyId,
);
@@ -395,8 +394,8 @@ class XCollection
>(
_target.id,
_target.belongId!,
- this._relations,
- this._collName,
+ _relations,
+ _collName,
{
"ids": ids,
"update": update,
@@ -439,8 +438,8 @@ class XCollection