fix(场景导入): 修复导入har文件时覆盖的问题

--bug=1009820 --user=刘瑞斌 【接口测试】场景导入har格式,覆盖失败 https://www.tapd.cn/55049933/s/1096028
This commit is contained in:
CaptainB 2022-01-22 12:26:48 +08:00 committed by song-tianyang
parent dcdeae3982
commit f88e95e8df
1 changed files with 17 additions and 14 deletions

View File

@ -92,11 +92,11 @@
</template> </template>
<script> <script>
import MsDialogFooter from "../../../../common/components/MsDialogFooter"; import MsDialogFooter from "../../../../common/components/MsDialogFooter";
import {getCurrentProjectID, hasLicense, listenGoBack, removeGoBackListener} from "@/common/js/utils"; import {getCurrentProjectID, hasLicense, listenGoBack, removeGoBackListener} from "@/common/js/utils";
import MsSelectTree from "../../../../common/select-tree/SelectTree"; import MsSelectTree from "../../../../common/select-tree/SelectTree";
export default { export default {
name: "ScenarioImport", name: "ScenarioImport",
components: {MsDialogFooter, MsSelectTree}, components: {MsDialogFooter, MsSelectTree},
props: { props: {
@ -189,7 +189,10 @@
break; break;
} }
} }
}, if (this.selectedPlatformValue === 'Har') {
this.formData.modeId = 'fullCoverage';
}
}
}, },
computed: { computed: {
isHar() { isHar() {