From 24c40d4645cf02b8a1e70e1f5b2d5a4edf0a3541 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Thu, 23 Feb 2023 15:36:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=BC=80=E6=BA=90=E7=94=A8=E6=88=B7=E5=88=9B=E5=BB=BA=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../frontend/src/business/case/components/TestCaseEdit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-track/frontend/src/business/case/components/TestCaseEdit.vue b/test-track/frontend/src/business/case/components/TestCaseEdit.vue index b65413b9b1..76d6ab7d1b 100644 --- a/test-track/frontend/src/business/case/components/TestCaseEdit.vue +++ b/test-track/frontend/src/business/case/components/TestCaseEdit.vue @@ -683,7 +683,7 @@ export default { }, methods: { setInitialVal() { - if (this.isAdd) { + if (this.isAdd && hasLicense()) { getProjectVersions(getCurrentProjectID()).then( (r) => { let latestVersion = r.data.filter(version => version.latest);