fix(场景导入): 修复导入har文件时覆盖的问题
--bug=1009820 --user=刘瑞斌 【接口测试】场景导入har格式,覆盖失败 https://www.tapd.cn/55049933/s/1096028
This commit is contained in:
parent
dcdeae3982
commit
f88e95e8df
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue