|
@@ -886,6 +886,13 @@ const handleExport = () => {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
|
|
+ // 设置默认开始时间为今天
|
|
|
|
|
+ const today = new Date();
|
|
|
|
|
+ const yyyy = today.getFullYear();
|
|
|
|
|
+ const mm = String(today.getMonth() + 1).padStart(2, '0'); // 月份从0开始,所以+1
|
|
|
|
|
+ const dd = String(today.getDate()).padStart(2, '0');
|
|
|
|
|
+ queryParams.value.startTime = `${yyyy}-${mm}-${dd}`;
|
|
|
|
|
+
|
|
|
console.log('tournaments_type:', tournaments_type.value);
|
|
console.log('tournaments_type:', tournaments_type.value);
|
|
|
console.log('tournaments_time:', tournaments_time.value);
|
|
console.log('tournaments_time:', tournaments_time.value);
|
|
|
getList();
|
|
getList();
|