fix(接口测试): 修复版本对比不显示对比结果问题

--bug=1018008 --user=赵勇 【接口测试】TCP / SQL / DUBBO接口进行版本对比console报错 https://www.tapd.cn/55049933/s/1261566
This commit is contained in:
fit2-zhao 2022-10-14 11:23:25 +08:00 committed by f2c-ci-robot[bot]
parent 710352258f
commit a3fee1ea50
4 changed files with 17 additions and 5 deletions

View File

@ -1543,8 +1543,6 @@ export default {
this.environments.forEach(environment => {
parseEnvironment(environment);
});
//
this.checkDataIsCopy();
});
}
},
@ -1755,6 +1753,8 @@ export default {
break;
}
}
//
this.checkDataIsCopy();
});
}
this.loading = false;

View File

@ -78,7 +78,13 @@
</template>
<script>
import {definitionFollow, delDefinitionByRefId, getDefinitionById, getDefinitionVersions} from "@/api/definition";
import {
definitionFollow,
delDefinitionByRefId,
getDefinitionById,
getDefinitionByIdAndRefId,
getDefinitionVersions
} from "@/api/definition";
import MsBasisApi from "./BasisApi";
import MsBasisParameters from "../request/dubbo/BasisParameters";
import MsChangeHistory from "@/business/history/ApiHistory";

View File

@ -82,7 +82,7 @@
import {
definitionFollow,
delDefinitionByRefId,
getDefinitionById,
getDefinitionById, getDefinitionByIdAndRefId,
getDefinitionVersions,
updateDefinitionFollows
} from "@/api/definition";

View File

@ -96,7 +96,13 @@
<script>
import {createMockConfig, getTcpMockInfo} from "@/api/api-mock";
import {definitionFollow, delDefinitionByRefId, getDefinitionById, getDefinitionVersions} from "@/api/definition";
import {
definitionFollow,
delDefinitionByRefId,
getDefinitionById,
getDefinitionByIdAndRefId,
getDefinitionVersions
} from "@/api/definition";
import MsTcpBasicApi from "./TCPBasicApi";
import MsTcpFormatParameters from "../request/tcp/TcpFormatParameters";
import MsChangeHistory from "@/business/history/ApiHistory";