refactor(接口测试): 接口同步功能优化

--user=郭雨琦
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001016065
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001015922
This commit is contained in:
guoyuqi 2022-08-22 11:12:55 +08:00 committed by f2c-ci-robot[bot]
parent 0e70bc67d5
commit 1facf0ca8f
1 changed files with 1 additions and 1 deletions

View File

@ -640,7 +640,7 @@ export default {
});
},
batchSync() {
if (hasLicense() && this.httpForm.caseTotal > 0) {
if (hasLicense() && (this.httpForm.caseTotal > 0 || this.citedScenarioCount > 0) && !this.httpForm.isCopy) {
if (this.$refs.synSetting && this.$refs.synSetting.fromData) {
let fromData = this.$refs.synSetting.fromData;
fromData.method = true;