refactor(接口自动化): 接口自动化参数设置 tab 命名优化

This commit is contained in:
junhong 2022-01-23 02:24:14 +08:00 committed by zhangdahai112
parent 15dfa118ed
commit 60f5be14d3
2 changed files with 4 additions and 3 deletions

View File

@ -160,7 +160,7 @@
</ms-container> </ms-container>
</el-tab-pane> </el-tab-pane>
<el-tab-pane :label="$t('api_test.variable')"> <el-tab-pane :label="$t('api_test.request.jmeter_func')">
<el-row> <el-row>
<el-col :span="18" class="col-height"> <el-col :span="18" class="col-height">
<div> <div>

View File

@ -88,11 +88,12 @@
<script> <script>
import {getCurrentProjectID, getCurrentUserId} from "@/common/js/utils"; import {getCurrentProjectID, getCurrentUserId} from "@/common/js/utils";
import VersionSelect from "@/business/components/xpack/version/VersionSelect"; const requireComponent = require.context('@/business/components/xpack/', true, /\.vue$/);
const VersionSelect = requireComponent.keys().length > 0 ? requireComponent("./version/VersionSelect.vue") : {};
export default { export default {
name: "TestCaseCommonImport", name: "TestCaseCommonImport",
components: {VersionSelect}, components: {'VersionSelect': VersionSelect.default},
props: ['tabName', 'name'], props: ['tabName', 'name'],
data() { data() {
return { return {