From c6ed7dc1108cf4bd12e9ff5398977fab5876e195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cyanghuaxuan=E2=80=9D?= <“646903573@qq.com”> Date: Fri, 2 Apr 2021 16:36:16 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=9C=A8=E5=8A=A0=E8=BD=BD=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=97=B6=E5=88=9D=E5=A7=8B=E5=8C=96=E4=BF=A1?= =?UTF-8?q?=E7=94=A8=E5=8D=A1=E7=9A=84=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/widgets/mine/mine_header/mine_header_bloc.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/widgets/mine/mine_header/mine_header_bloc.dart b/lib/widgets/mine/mine_header/mine_header_bloc.dart index 80d5664..06c3684 100644 --- a/lib/widgets/mine/mine_header/mine_header_bloc.dart +++ b/lib/widgets/mine/mine_header/mine_header_bloc.dart @@ -1,5 +1,6 @@ import 'dart:async'; import 'dart:convert'; +import 'dart:html'; import 'package:zhiying_base_widget/widgets/mine/mine_header/model/mine_profile_model.dart'; import 'package:zhiying_comm/util/base_bloc.dart'; @@ -26,9 +27,13 @@ class MineHeaderBloc extends BlocBase { Logger.log("我的数据:"+ json.encode(data)); _profile = MineProfileModel.fromJson(Map.from(data)); _profileController.add(_profile); + ///信用卡初始化 + ///只有在用户数据被加载时调用 + Application.doStringMethod("initCreditCard"); }, onError: (err) { _profile = MineProfileModel(); _profileController.add(_profile); }); + } }