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,21 +92,21 @@
</template>
<script>
import MsDialogFooter from "../../../../common/components/MsDialogFooter";
import {getCurrentProjectID, hasLicense, listenGoBack, removeGoBackListener} from "@/common/js/utils";
import MsSelectTree from "../../../../common/select-tree/SelectTree";
import MsDialogFooter from "../../../../common/components/MsDialogFooter";
import {getCurrentProjectID, hasLicense, listenGoBack, removeGoBackListener} from "@/common/js/utils";
import MsSelectTree from "../../../../common/select-tree/SelectTree";
export default {
name: "ScenarioImport",
components: {MsDialogFooter, MsSelectTree},
props: {
saved: {
type: Boolean,
default: true,
},
moduleOptions: Array,
export default {
name: "ScenarioImport",
components: {MsDialogFooter, MsSelectTree},
props: {
saved: {
type: Boolean,
default: true,
},
data() {
moduleOptions: Array,
},
data() {
return {
visible: false,
swaggerUrlEable: false,
@ -189,7 +189,10 @@
break;
}
}
},
if (this.selectedPlatformValue === 'Har') {
this.formData.modeId = 'fullCoverage';
}
}
},
computed: {
isHar() {