fix(接口测试): 场景导入按钮失效
This commit is contained in:
parent
43f1dc5982
commit
df176dbfbb
|
@ -32,7 +32,7 @@
|
|||
@isApiListEnableChange="isApiListEnableChange"
|
||||
ref="apiCaseList"/>
|
||||
|
||||
<template v-slot:header>
|
||||
<template v-slot:footer>
|
||||
<el-button type="primary" @click="copy" :loading="buttonIsWorking" @keydown.enter.native.prevent>
|
||||
{{ $t('commons.copy') }}
|
||||
</el-button>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
:custom-num="customNum"
|
||||
ref="apiScenarioList"/>
|
||||
|
||||
<template v-slot:headerBtn>
|
||||
<template v-slot:footer>
|
||||
<el-button type="primary" @click="copy" :loading="buttonIsWorking" @keydown.enter.native.prevent>
|
||||
{{ $t('commons.copy') }}
|
||||
</el-button>
|
||||
|
|
|
@ -1,17 +1,5 @@
|
|||
<template>
|
||||
<relevance-dialog :width="width" :title="dialogTitle" ref="relevanceDialog">
|
||||
<template v-slot:headerBtn>
|
||||
|
||||
<div v-if="$slots.headerBtn">
|
||||
<slot name="headerBtn"></slot>
|
||||
</div>
|
||||
<div v-else>
|
||||
<div style="margin-bottom: 5px" v-if="flag">
|
||||
<el-checkbox v-model="checked">{{ $t('test_track.sync_add_api_load') }}</el-checkbox>
|
||||
</div>
|
||||
<ms-dialog-header @cancel="close" v-loading="isSaving" @confirm="save"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template v-slot:aside>
|
||||
<select-menu
|
||||
|
@ -26,7 +14,7 @@
|
|||
|
||||
<slot></slot>
|
||||
|
||||
<!-- <template v-slot:footer>
|
||||
<template v-slot:footer>
|
||||
|
||||
<div v-if="$slots.footer">
|
||||
<slot name="footer"></slot>
|
||||
|
@ -37,14 +25,14 @@
|
|||
</div>
|
||||
<ms-dialog-footer @cancel="close" v-loading="isSaving" @confirm="save"/>
|
||||
</div>
|
||||
</template>-->
|
||||
</template>
|
||||
|
||||
</relevance-dialog>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import MsDialogHeader from '../../../../../common/components/MsDialogHeader'
|
||||
import MsDialogFooter from '../../../../../common/components/MsDialogFooter'
|
||||
import SelectMenu from "../../../../common/SelectMenu";
|
||||
import RelevanceDialog from "./RelevanceDialog";
|
||||
import {getCurrentProjectID, getCurrentUserId, getCurrentWorkspaceId} from "@/common/js/utils";
|
||||
|
@ -54,7 +42,7 @@ import SelectMenu from "../../../../common/SelectMenu";
|
|||
components: {
|
||||
RelevanceDialog,
|
||||
SelectMenu,
|
||||
MsDialogHeader,
|
||||
MsDialogFooter,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue