mirror of
https://github.com/Cccc-owo/CheckInApp.git
synced 2026-06-17 05:56:29 +00:00
feat: format frontend codes
This commit is contained in:
@@ -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.loading = true;
|
||||||
this.error = null;
|
this.error = null;
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -1156,8 +1156,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* 更高优先级的选择器 */
|
/* 更高优先级的选择器 */
|
||||||
div[class*="ant-tooltip"] .ant-tooltip-inner,
|
div[class*='ant-tooltip'] .ant-tooltip-inner,
|
||||||
div[class^="ant-tooltip"] div[class*="tooltip-inner"] {
|
div[class^='ant-tooltip'] div[class*='tooltip-inner'] {
|
||||||
display: flex !important;
|
display: flex !important;
|
||||||
align-items: center !important;
|
align-items: center !important;
|
||||||
justify-content: center !important;
|
justify-content: center !important;
|
||||||
|
|||||||
@@ -9,12 +9,7 @@
|
|||||||
<h1 class="text-4xl font-bold text-gradient mb-2">任务管理</h1>
|
<h1 class="text-4xl font-bold text-gradient mb-2">任务管理</h1>
|
||||||
<p class="text-on-surface-variant">管理您的自动打卡任务</p>
|
<p class="text-on-surface-variant">管理您的自动打卡任务</p>
|
||||||
</div>
|
</div>
|
||||||
<a-button
|
<a-button type="primary" size="large" class="shadow-md3-3" @click="openCreateDialog">
|
||||||
type="primary"
|
|
||||||
size="large"
|
|
||||||
class="shadow-md3-3"
|
|
||||||
@click="openCreateDialog"
|
|
||||||
>
|
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<PlusOutlined />
|
<PlusOutlined />
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user