引用->深拷贝

hmxc
张萌 3 years ago
parent cf107a46d0
commit 1362b661f6

@ -55,7 +55,7 @@ class _LifePayDetailPageState extends State<LifePayDetailPage> {
@override
void initState() {
super.initState();
_selectModel = widget.selectModel;
_selectModel = LifePayListModel.fromJson(widget.selectModel.toJson());
_model = widget.model;
}

Loading…
Cancel
Save