补全信息

This commit is contained in:
2025-11-18 15:47:41 +08:00
parent 47e3c5f637
commit 80ef6f7ce8
6 changed files with 614 additions and 583 deletions

View File

@@ -150,7 +150,12 @@ import ParentPreview from "@/views/project/ParentPreview/index.vue"
// 判断是否有
const formKey = computed(() => {
// 去掉双击被测件即key.split("").length > 1
if (form.value.key && form.value.key.split("-").length > 2) {
if (
form.value.key &&
typeof form.value.key !== "number" &&
form.value.key &&
form.value.key.split("-").length > 2
) {
// 如果存在则取前面的
return form.value.key.slice(0, -2)
}

View File

@@ -12,7 +12,7 @@
:heading="5"
>
<div
class="font-extrabold bg-clip-text text-transparent bg-gradient-to-r from-blue-500 to-purple-600"
class="font-extrabold bg-clip-text text-transparent bg-linear-to-r from-blue-500 to-purple-600"
>
测试管理平台
</div>