You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
291 B
10 lines
291 B
import 'package:get/get.dart';
|
|
import '../controllers/login_controller.dart';
|
|
|
|
class LoginBinding extends Bindings {
|
|
@override
|
|
void dependencies() {
|
|
// 使用 put 而不是 lazyPut,确保控制器立即创建
|
|
Get.put<LoginController>(LoginController(), permanent: false);
|
|
}
|
|
}
|