fix(mining-app): 修复 BatchMiningRecordsPage 类名冲突
将页面类重命名为 BatchMiningRecordsListPage 以避免与实体类冲突 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
d5dc248a16
commit
b6d723333c
|
|
@ -122,7 +122,7 @@ final appRouterProvider = Provider<GoRouter>((ref) {
|
|||
),
|
||||
GoRoute(
|
||||
path: Routes.batchMiningRecords,
|
||||
builder: (context, state) => const BatchMiningRecordsPage(),
|
||||
builder: (context, state) => const BatchMiningRecordsListPage(),
|
||||
),
|
||||
GoRoute(
|
||||
path: Routes.plantingRecords,
|
||||
|
|
|
|||
|
|
@ -8,14 +8,14 @@ import '../../providers/user_providers.dart';
|
|||
import '../../providers/mining_providers.dart';
|
||||
|
||||
/// 补发记录页面
|
||||
class BatchMiningRecordsPage extends ConsumerStatefulWidget {
|
||||
const BatchMiningRecordsPage({super.key});
|
||||
class BatchMiningRecordsListPage extends ConsumerStatefulWidget {
|
||||
const BatchMiningRecordsListPage({super.key});
|
||||
|
||||
@override
|
||||
ConsumerState<BatchMiningRecordsPage> createState() => _BatchMiningRecordsPageState();
|
||||
ConsumerState<BatchMiningRecordsListPage> createState() => _BatchMiningRecordsListPageState();
|
||||
}
|
||||
|
||||
class _BatchMiningRecordsPageState extends ConsumerState<BatchMiningRecordsPage> {
|
||||
class _BatchMiningRecordsListPageState extends ConsumerState<BatchMiningRecordsListPage> {
|
||||
static const Color _orange = Color(0xFFFF6B00);
|
||||
static const Color _green = Color(0xFF22C55E);
|
||||
static const Color _grayText = Color(0xFF6B7280);
|
||||
|
|
|
|||
Loading…
Reference in New Issue