路径接口

This commit is contained in:
2026-03-20 10:23:45 +08:00
parent cd14469d79
commit 930953780d
10 changed files with 293 additions and 471 deletions

View File

@@ -16,7 +16,7 @@ void main() async {
WidgetsFlutterBinding.ensureInitialized();
WidgetsBinding widgetsBinding = await init(
isDebug: false,
isDebug: true,
logTag: '小羚羚',
supportedLocales: [const Locale('zh', 'CN')],
);
@@ -34,7 +34,7 @@ void main() async {
// 设计稿尺寸 单位dp
designSize: const Size(390, 844),
// Getx Log
enableLog: false,
enableLog: true,
// 默认的跳转动画
defaultTransition: Transition.rightToLeft,
// 主题模式
@@ -77,7 +77,7 @@ void initHttpSet() {
return null;
} else if (baseModel.code == 401) {
await StorageService.to.clearLoginInfo();
// Get.offAll(() => const LoginPage());
Get.offAll(() => const LoginPage());
return baseModel.message;
} else {
return (baseModel.error.toString()).isEmpty