更新登录页面
This commit is contained in:
@@ -171,7 +171,14 @@ class _NewHomePageState extends State<NewHomePage> {
|
|||||||
children: [
|
children: [
|
||||||
// 左侧头像
|
// 左侧头像
|
||||||
Obx(() {
|
Obx(() {
|
||||||
return userInfo(userInfoController.model.login);
|
return InkWell(
|
||||||
|
onTap: () {
|
||||||
|
if (userInfoController.model.login == 0) {
|
||||||
|
Get.toNamed("/loginPage");
|
||||||
|
}
|
||||||
|
},
|
||||||
|
child: userInfo(userInfoController.model.login),
|
||||||
|
);
|
||||||
}),
|
}),
|
||||||
const Spacer(), // 左右分隔
|
const Spacer(), // 左右分隔
|
||||||
FloatingSvgIcon(
|
FloatingSvgIcon(
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user