fix(测试跟踪): 开源用户创建用例报错
This commit is contained in:
parent
f340302f09
commit
24c40d4645
|
@ -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