feat: format frontend codes

This commit is contained in:
2026-01-05 21:06:30 +08:00
parent a5de813c82
commit b32b53853a
3 changed files with 10 additions and 9 deletions
+7 -1
View File
@@ -132,7 +132,13 @@ export const useTemplateStore = defineStore('template', {
}
},
async createTaskFromTemplate(templateId, threadId, fieldValues, taskName = null, cronExpression = '0 20 * * *') {
async createTaskFromTemplate(
templateId,
threadId,
fieldValues,
taskName = null,
cronExpression = '0 20 * * *'
) {
this.loading = true;
this.error = null;
try {
+2 -2
View File
@@ -1156,8 +1156,8 @@
}
/* 更高优先级的选择器 */
div[class*="ant-tooltip"] .ant-tooltip-inner,
div[class^="ant-tooltip"] div[class*="tooltip-inner"] {
div[class*='ant-tooltip'] .ant-tooltip-inner,
div[class^='ant-tooltip'] div[class*='tooltip-inner'] {
display: flex !important;
align-items: center !important;
justify-content: center !important;
+1 -6
View File
@@ -9,12 +9,7 @@
<h1 class="text-4xl font-bold text-gradient mb-2">任务管理</h1>
<p class="text-on-surface-variant">管理您的自动打卡任务</p>
</div>
<a-button
type="primary"
size="large"
class="shadow-md3-3"
@click="openCreateDialog"
>
<a-button type="primary" size="large" class="shadow-md3-3" @click="openCreateDialog">
<template #icon>
<PlusOutlined />
</template>