fix: sql请求更新接口报错

This commit is contained in:
chenjianxing 2021-02-04 18:13:07 +08:00
parent 91e1215d65
commit fe2f4e90a2
1 changed files with 23 additions and 23 deletions

View File

@ -44,7 +44,7 @@
</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";
@ -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) {