|
|
@@ -2,6 +2,9 @@ import 'package:flutter/cupertino.dart';
|
|
|
import 'package:flutter/material.dart';
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
|
|
|
+import 'package:get/get.dart';
|
|
|
+import 'package:get/get_core/src/get_main.dart';
|
|
|
+import 'package:location/module/main/main_page.dart';
|
|
|
import 'package:location/resource/string.gen.dart';
|
|
|
import 'package:location/utils/common_expand.dart';
|
|
|
|
|
|
@@ -103,6 +106,8 @@ class _AccountReplaceView extends StatelessWidget {
|
|
|
}
|
|
|
|
|
|
void onKnowClick() {
|
|
|
+ //清空至首页
|
|
|
+ Get.offAll(() => MainPage());
|
|
|
AccountReplaceDialog.dismiss();
|
|
|
}
|
|
|
}
|