From 1d90a6ae7662d9005e32f4b1e6b47a3ef8738830 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Thu, 27 Oct 2022 11:27:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E6=97=A0=E6=B3=95=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=88=B0=E7=94=A8=E4=BE=8B=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1019006 --user=陈建星 【测试跟踪】启动公共用例库-批量添加到公共用例库-提示“未开启公共用例库配置” https://www.tapd.cn/55049933/s/1279628 --- .../frontend/src/business/case/components/TestCaseEdit.vue | 2 +- .../frontend/src/business/case/components/TestCaseList.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test-track/frontend/src/business/case/components/TestCaseEdit.vue b/test-track/frontend/src/business/case/components/TestCaseEdit.vue index 8d7c32e00a..27f246d29f 100644 --- a/test-track/frontend/src/business/case/components/TestCaseEdit.vue +++ b/test-track/frontend/src/business/case/components/TestCaseEdit.vue @@ -450,7 +450,7 @@ export default { .then(res => { this.loading = false; let data = res.data; - if (data && data.casePublic) { + if (data && data.typeValue === 'true') { this.isPublic = true; } }); diff --git a/test-track/frontend/src/business/case/components/TestCaseList.vue b/test-track/frontend/src/business/case/components/TestCaseList.vue index c8de2d2cd8..8f31a13389 100644 --- a/test-track/frontend/src/business/case/components/TestCaseList.vue +++ b/test-track/frontend/src/business/case/components/TestCaseList.vue @@ -978,7 +978,7 @@ export default { getProjectApplicationConfig('CASE_PUBLIC') .then(res => { let data = res.data; - if (data && data.casePublic) { + if (data && data.typeValue === 'true') { let param = {}; param.ids = this.$refs.table.selectIds; param.casePublic = true;