|
|
|
@ -53,12 +53,12 @@ class _MineItem extends State<MineItem> {
|
|
|
|
|
sharedPreferences.setString('identitySwitch', "1"); |
|
|
|
|
if (businessLoginInfo.storeList.length > 1) { |
|
|
|
|
Navigator.of(context) |
|
|
|
|
.popAndPushNamed('/router/select_shop', arguments: { |
|
|
|
|
.pushReplacementNamed('/router/select_shop', arguments: { |
|
|
|
|
"businessLoginInfo": businessLoginInfo, |
|
|
|
|
}); |
|
|
|
|
} else { |
|
|
|
|
Navigator.of(context) |
|
|
|
|
.popAndPushNamed('/router/business_page', arguments: { |
|
|
|
|
.pushReplacementNamed('/router/business_page', arguments: { |
|
|
|
|
"businessLoginInfo": businessLoginInfo, |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|