fix: sql请求更新接口报错
This commit is contained in:
parent
91e1215d65
commit
fe2f4e90a2
|
@ -44,29 +44,29 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {downloadFile, getUUID} from "@/common/js/utils";
|
import {getUUID} from "@/common/js/utils";
|
||||||
import MsApiCaseList from "../case/ApiCaseList";
|
import MsApiCaseList from "../case/ApiCaseList";
|
||||||
import MsContainer from "../../../../common/components/MsContainer";
|
import MsContainer from "../../../../common/components/MsContainer";
|
||||||
import MsBottomContainer from "../BottomContainer";
|
import MsBottomContainer from "../BottomContainer";
|
||||||
import {parseEnvironment} from "../../model/EnvironmentModel";
|
import {parseEnvironment} from "../../model/EnvironmentModel";
|
||||||
import ApiEnvironmentConfig from "../environment/ApiEnvironmentConfig";
|
import ApiEnvironmentConfig from "../environment/ApiEnvironmentConfig";
|
||||||
import MsRequestResultTail from "../response/RequestResultTail";
|
import MsRequestResultTail from "../response/RequestResultTail";
|
||||||
import MsRun from "../Run";
|
import MsRun from "../Run";
|
||||||
import MsBasisParameters from "../request/database/BasisParameters";
|
import MsBasisParameters from "../request/database/BasisParameters";
|
||||||
import {REQ_METHOD} from "../../model/JsonData";
|
import {REQ_METHOD} from "../../model/JsonData";
|
||||||
import MsJmxStep from "../step/JmxStep";
|
import MsJmxStep from "../step/JmxStep";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "RunTestSQLPage",
|
name: "RunTestSQLPage",
|
||||||
components: {
|
components: {
|
||||||
MsApiCaseList,
|
MsApiCaseList,
|
||||||
MsContainer,
|
MsContainer,
|
||||||
MsBottomContainer,
|
MsBottomContainer,
|
||||||
MsRequestResultTail,
|
MsRequestResultTail,
|
||||||
ApiEnvironmentConfig,
|
ApiEnvironmentConfig,
|
||||||
MsRun,
|
MsRun,
|
||||||
MsBasisParameters,
|
MsBasisParameters,
|
||||||
MsJmxStep
|
MsJmxStep
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
@ -175,7 +175,7 @@
|
||||||
if (this.syncTabs.indexOf(this.api.id) === -1) {
|
if (this.syncTabs.indexOf(this.api.id) === -1) {
|
||||||
this.syncTabs.push(this.api.id);
|
this.syncTabs.push(this.api.id);
|
||||||
}
|
}
|
||||||
this.$emit('saveApi', this.api);
|
this.$emit('refresh');
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
selectTestCase(item) {
|
selectTestCase(item) {
|
||||||
|
|
Loading…
Reference in New Issue