From f76e67c8fbde9de482bc2a8c126259baabf892e8 Mon Sep 17 00:00:00 2001 From: ks3356143 <314298729@qq.com> Date: Thu, 24 Aug 2023 10:57:27 +0800 Subject: [PATCH] 823 --- cdTMP/src/views/project/case/index.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/cdTMP/src/views/project/case/index.vue b/cdTMP/src/views/project/case/index.vue index 3d42d61..a9028f0 100644 --- a/cdTMP/src/views/project/case/index.vue +++ b/cdTMP/src/views/project/case/index.vue @@ -2,7 +2,11 @@
- + + +
@@ -27,7 +31,7 @@ const crudOptions = ref({ edit: { show: true, api: problemApi.update }, delete: { show: true, api: problemApi.delete }, afterAdd: (res) => { - console.log(res); + console.log(res) let id = projectId.value treeDataStore.updateProblemTreeData(res.data, id) }, @@ -152,7 +156,7 @@ const crudColumns = ref([ dataIndex: "ident", editDisabled: true, addDisabled: true, - addDefaultValue: `PT_${route.query.ident}_`, + addDefaultValue: `${route.query.ident}`, validateTrigger: "blur" }, {