fix(接口定义): 解决iscopy找不到问题

--user=郭雨琦 解决iscopy找不到问题
This commit is contained in:
guoyuqi 2022-01-20 15:33:22 +08:00 committed by song-tianyang
parent 335bc2dad7
commit 858bd86e5e
3 changed files with 3 additions and 3 deletions

View File

@ -231,7 +231,7 @@ export default {
},
getVersionHistory() {
this.$get('/api/definition/versions/' + this.basisData.id, response => {
if (this.httpForm.isCopy) {
if (this.basisData.isCopy) {
this.versionData = response.data.filter(v => v.versionId === this.httpForm.versionId);
} else {
this.versionData = response.data;

View File

@ -235,7 +235,7 @@ export default {
},
getVersionHistory() {
this.$get('/api/definition/versions/' + this.basisData.id, response => {
if (this.httpForm.isCopy) {
if (this.basisData.isCopy) {
this.versionData = response.data.filter(v => v.versionId === this.httpForm.versionId);
} else {
this.versionData = response.data;

View File

@ -352,7 +352,7 @@ export default {
},
getVersionHistory() {
this.$get('/api/definition/versions/' + this.basisData.id, response => {
if (this.httpForm.isCopy) {
if (this.basisData.isCopy) {
this.versionData = response.data.filter(v => v.versionId === this.httpForm.versionId);
} else {
this.versionData = response.data;