Showing
3 changed files
with
6 additions
and
4 deletions
| @@ -215,8 +215,8 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { | @@ -215,8 +215,8 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { | ||
| 215 | bus.on('refresh_token', (arg) { | 215 | bus.on('refresh_token', (arg) { |
| 216 | initPlatformState(); | 216 | initPlatformState(); |
| 217 | }); | 217 | }); |
| 218 | - bool success = await getSellerVersion(); | ||
| 219 | - if (success) { | 218 | + getSellerVersion(); |
| 219 | + | ||
| 220 | initPlatformState(); | 220 | initPlatformState(); |
| 221 | _getTableList(); | 221 | _getTableList(); |
| 222 | _getSellerById(); | 222 | _getSellerById(); |
| @@ -273,7 +273,7 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { | @@ -273,7 +273,7 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { | ||
| 273 | } | 273 | } |
| 274 | 274 | ||
| 275 | _getUnMsgNum(); | 275 | _getUnMsgNum(); |
| 276 | - } | 276 | + |
| 277 | }); | 277 | }); |
| 278 | } | 278 | } |
| 279 | 279 |
| @@ -95,7 +95,7 @@ class OtherLoginProvider extends ChangeNotifier { | @@ -95,7 +95,7 @@ class OtherLoginProvider extends ChangeNotifier { | ||
| 95 | Utils.showToast(baseResp.msg ?? ""); | 95 | Utils.showToast(baseResp.msg ?? ""); |
| 96 | } | 96 | } |
| 97 | return checkbindPhoneSunModel; | 97 | return checkbindPhoneSunModel; |
| 98 | - ; | 98 | + |
| 99 | } | 99 | } |
| 100 | } | 100 | } |
| 101 | } | 101 | } |
| @@ -142,6 +142,8 @@ class StoreWineProvider with ChangeNotifier { | @@ -142,6 +142,8 @@ class StoreWineProvider with ChangeNotifier { | ||
| 142 | } else { | 142 | } else { |
| 143 | wineManageList = WineManageFaModel.fromJson(baseResp.responseData).data; | 143 | wineManageList = WineManageFaModel.fromJson(baseResp.responseData).data; |
| 144 | print(wineManageList); | 144 | print(wineManageList); |
| 145 | + // wineManageList.sort((a, b) => a.cdate.compareTo(b.cdate)); | ||
| 146 | + // print(wineManageList); | ||
| 145 | if (wineManageList.length == 0) { | 147 | if (wineManageList.length == 0) { |
| 146 | pageStateAll = PageState.Empty; | 148 | pageStateAll = PageState.Empty; |
| 147 | } else { | 149 | } else { |
-
Please register or login to post a comment