修正上架時 Google Play 檢查出的 issue

This commit is contained in:
2026-04-09 23:15:19 +08:00
parent af27b77ad7
commit bdc0ee7dd4
108 changed files with 3446 additions and 276 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ class LeaveApiService {
return await _apiService.fetchProcedure<Map<String, dynamic>>(
procedureEndpoint: "bpm_sign_history",
params: params,
fromJson: (json) => json as Map<String, dynamic>,
fromJson: (json) => json,
);
} catch (e) {
print("LeaveApiService.fetchSignHistory 異常: $e");
+1 -2
View File
@@ -1,5 +1,4 @@
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import './leave_model.dart';
import './leave_api.dart';
@@ -242,7 +241,7 @@ class _LeaveDetailState extends State<LeaveDetail> {
_buildTableCell(displayTime),
],
);
}).toList(),
}),
],
),
);
+1 -1
View File
@@ -130,7 +130,7 @@ class _LeaveFormState extends State<LeaveForm> {
children: [
// 假別選擇 (顯示名稱,存入代碼)
DropdownButtonFormField<LeaveType>(
value: _selectedType,
initialValue: _selectedType,
decoration: const InputDecoration(labelText: '請假類別', border: OutlineInputBorder()),
// 將 API 取得的資料轉換為選單項目
items: _dbLeaveTypes.map((t) => DropdownMenuItem(