diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 5dfb519..5545d2a 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1536,7 +1536,7 @@ onUnmounted(() => {
-
子任务
{{subtask.title}}
把这件事拆成更小的步骤
+
子任务
{{subtask.title}}
把这件事拆成更小的步骤
更多设置
diff --git a/frontend/src/style.test.ts b/frontend/src/style.test.ts index d7f38b2..f7685f6 100644 --- a/frontend/src/style.test.ts +++ b/frontend/src/style.test.ts @@ -610,7 +610,8 @@ describe('task and habit row decoration', () => { const subtaskRow = app.slice(app.indexOf('
]*@click=/) - expect(subtaskRow).toContain('class="check subtask-check"') + expect(subtaskRow).toContain('class="task-check subtask-check"') + expect(subtaskRow).toContain('') expect(subtaskRow).toContain('@click="toggle(subtask)"') expect(css).toContain('.subtask-detail .subtask-check{width:44px;height:44px;flex:0 0 44px;') expect(css).toContain('.task-check{')