fix(测试跟踪): 开源用户创建用例报错
This commit is contained in:
parent
97b9054ec0
commit
fb42cca043
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue