app-starlock/lib/mine/addLock/lockResetConfirm/lockResetConfirm_state.dart

16 lines
364 B
Dart

import 'package:get/get.dart';
class LockResetConfirmState {
LockResetConfirmState() {
// 从路由参数中获取锁类型信息
final Map? map = Get.arguments;
if (map is Map && map.isNotEmpty) {
if (map['getLockType'] != null) {
getLockType.value = map['getLockType'];
}
}
}
RxInt getLockType = 1.obs; // 锁类型
}