fix (接口自动化): 优化步骤部分延迟加载提高流畅度
This commit is contained in:
parent
037a115c50
commit
bf6e3e9a8c
|
@ -337,6 +337,7 @@ import {
|
||||||
import "@/common/css/material-icons.css"
|
import "@/common/css/material-icons.css"
|
||||||
import OutsideClick from "@/common/js/outside-click";
|
import OutsideClick from "@/common/js/outside-click";
|
||||||
import {saveScenario} from "@/business/components/api/automation/api-automation";
|
import {saveScenario} from "@/business/components/api/automation/api-automation";
|
||||||
|
import MsComponentConfig from "./component/ComponentConfig";
|
||||||
|
|
||||||
let jsonPath = require('jsonpath');
|
let jsonPath = require('jsonpath');
|
||||||
export default {
|
export default {
|
||||||
|
@ -351,6 +352,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
MsComponentConfig,
|
||||||
MsVariableList: () => import("./variable/VariableList"),
|
MsVariableList: () => import("./variable/VariableList"),
|
||||||
ScenarioRelevance: () => import("./api/ScenarioRelevance"),
|
ScenarioRelevance: () => import("./api/ScenarioRelevance"),
|
||||||
ScenarioApiRelevance: () => import("./api/ApiRelevance"),
|
ScenarioApiRelevance: () => import("./api/ApiRelevance"),
|
||||||
|
@ -360,7 +362,6 @@ export default {
|
||||||
MsRun: () => import("./DebugRun"),
|
MsRun: () => import("./DebugRun"),
|
||||||
MsApiCustomize: () => import("./ApiCustomize"),
|
MsApiCustomize: () => import("./ApiCustomize"),
|
||||||
ApiImport: () => import("../../definition/components/import/ApiImport"),
|
ApiImport: () => import("../../definition/components/import/ApiImport"),
|
||||||
MsComponentConfig: () => import("./component/ComponentConfig"),
|
|
||||||
EnvPopover: () => import("@/business/components/api/automation/scenario/EnvPopover"),
|
EnvPopover: () => import("@/business/components/api/automation/scenario/EnvPopover"),
|
||||||
MaximizeScenario: () => import("./maximize/MaximizeScenario"),
|
MaximizeScenario: () => import("./maximize/MaximizeScenario"),
|
||||||
ScenarioHeader: () => import("./maximize/ScenarioHeader"),
|
ScenarioHeader: () => import("./maximize/ScenarioHeader"),
|
||||||
|
|
|
@ -10,22 +10,28 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import MsIfController from "./IfController";
|
||||||
|
import MsTransactionController from "./TransactionController";
|
||||||
import {ELEMENT_TYPE} from "../Setting";
|
import {ELEMENT_TYPE} from "../Setting";
|
||||||
|
import MsApiComponent from "./ApiComponent";
|
||||||
|
import MsLoopController from "./LoopController";
|
||||||
|
import MsApiScenarioComponent from "./ApiScenarioComponent";
|
||||||
|
import JmeterElementComponent from "./JmeterElementComponent";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "ComponentConfig",
|
name: "ComponentConfig",
|
||||||
components: {
|
components: {
|
||||||
|
MsIfController ,
|
||||||
|
MsTransactionController ,
|
||||||
|
MsApiComponent ,
|
||||||
|
MsLoopController ,
|
||||||
|
MsApiScenarioComponent ,
|
||||||
|
JmeterElementComponent,
|
||||||
MsConstantTimer: () => import("./ConstantTimer"),
|
MsConstantTimer: () => import("./ConstantTimer"),
|
||||||
MsIfController: () => import("./IfController"),
|
|
||||||
MsTransactionController: () => import("./TransactionController"),
|
|
||||||
MsJsr233Processor: () => import("./Jsr233Processor"),
|
MsJsr233Processor: () => import("./Jsr233Processor"),
|
||||||
MsApiAssertions: () => import("../../../definition/components/assertion/ApiAssertions"),
|
MsApiAssertions: () => import("../../../definition/components/assertion/ApiAssertions"),
|
||||||
MsApiExtract: () => import("../../../definition/components/extract/ApiExtract"),
|
MsApiExtract: () => import("../../../definition/components/extract/ApiExtract"),
|
||||||
MsApiComponent: () => import("./ApiComponent"),
|
|
||||||
MsLoopController: () => import("./LoopController"),
|
|
||||||
MsApiScenarioComponent: () => import("./ApiScenarioComponent"),
|
|
||||||
MsJdbcProcessor: () => import("@/business/components/api/automation/scenario/component/JDBCProcessor"),
|
MsJdbcProcessor: () => import("@/business/components/api/automation/scenario/component/JDBCProcessor"),
|
||||||
JmeterElementComponent: () => import("./JmeterElementComponent")
|
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|
Loading…
Reference in New Issue