fix(测试跟踪): 开源用户创建用例报错

This commit is contained in:
chenjianxing 2023-02-23 15:36:40 +08:00 committed by jianxing
parent 97b9054ec0
commit fb42cca043
1 changed files with 1 additions and 1 deletions

View File

@ -683,7 +683,7 @@ export default {
}, },
methods: { methods: {
setInitialVal() { setInitialVal() {
if (this.isAdd) { if (this.isAdd && hasLicense()) {
getProjectVersions(getCurrentProjectID()).then( getProjectVersions(getCurrentProjectID()).then(
(r) => { (r) => {
let latestVersion = r.data.filter(version => version.latest); let latestVersion = r.data.filter(version => version.latest);