fix:projectId
This commit is contained in:
parent
ad5346d7e8
commit
22d437cc85
|
@ -404,7 +404,7 @@ export default {
|
||||||
type: String
|
type: String
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
projectId() {
|
projectIds() {
|
||||||
return this.$store.state.projectId
|
return this.$store.state.projectId
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -455,7 +455,7 @@ export default {
|
||||||
},
|
},
|
||||||
getTestOptions(val) {
|
getTestOptions(val) {
|
||||||
this.form.type = val
|
this.form.type = val
|
||||||
this.projectId = this.projectId
|
this.projectId = this.projectIds
|
||||||
this.testOptions = [];
|
this.testOptions = [];
|
||||||
let url = '';
|
let url = '';
|
||||||
if (this.form.type === 'testcase' || this.form.type === 'automation') {
|
if (this.form.type === 'testcase' || this.form.type === 'automation') {
|
||||||
|
@ -556,7 +556,7 @@ export default {
|
||||||
/*
|
/*
|
||||||
this.form.selected=[["automation", "3edaaf31-3fa4-4a53-9654-320205c2953a"],["automation", "3aa58bd1-c986-448c-8060-d32713dbd4eb"]]
|
this.form.selected=[["automation", "3edaaf31-3fa4-4a53-9654-320205c2953a"],["automation", "3aa58bd1-c986-448c-8060-d32713dbd4eb"]]
|
||||||
*/
|
*/
|
||||||
this.projectId = this.projectId;
|
this.projectId = this.projectIds;
|
||||||
if (window.history && window.history.pushState) {
|
if (window.history && window.history.pushState) {
|
||||||
history.pushState(null, null, document.URL);
|
history.pushState(null, null, document.URL);
|
||||||
window.addEventListener('popstate', this.close);
|
window.addEventListener('popstate', this.close);
|
||||||
|
|
Loading…
Reference in New Issue