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" }, {