优化: 代码质量收尾(搜索索引补全+编译警告清理+i18n核验+String替newtype)

This commit is contained in:
2026-07-01 12:11:35 +08:00
parent 0338210ba2
commit 6771d396f0
15 changed files with 242 additions and 36 deletions

View File

@@ -274,6 +274,7 @@ import FileExplorer from '@/components/project/FileExplorer.vue'
import DependencyGraph from '@/components/project/DependencyGraph.vue'
import { useConfirm } from '@/composables/useConfirm'
import { useRendered } from '@/composables/useMarkdown'
import type { ProjectId } from '@/api/types'
const route = useRoute()
const router = useRouter()
@@ -406,7 +407,7 @@ async function submitNewTask() {
submitting.value = true
try {
const r = await store.createTask({
project_id: projectId.value,
project_id: projectId.value as ProjectId,
title: newTaskTitle.value.trim(),
description: newTaskDesc.value.trim(),
branch_name: newTaskBranch.value.trim() || undefined,