fix(UI自动化): 修改UI设置默认提示地址、调整UI测试tab的顺序

This commit is contained in:
nathan.liu 2022-05-12 14:26:53 +08:00 committed by f2c-ci-robot[bot]
parent 10459595a3
commit 6d8572855f
4 changed files with 25 additions and 25 deletions

@ -1 +1 @@
Subproject commit bdab35b7a74d9a77ca74aa0e41e813d28067afaf Subproject commit ba8672bcb2e3e4f25b493de06f8c5c525ed28bdb

View File

@ -39,28 +39,6 @@
</el-row> </el-row>
</el-tab-pane> </el-tab-pane>
<!-- UI 测试 -->
<el-tab-pane v-if="isXpack" :label="$t('commons.ui_test')" name="ui_test" >
<el-row style="margin-top: 10px">
<span style="font-weight:bold">{{ $t('commons.view_settings') }}</span>
</el-row>
<el-row style="margin-top: 15px">
<app-manage-item :title="$t('ui.ui_debug_mode')"
:append-span="12" :prepend-span="12" :middle-span="0">
<template #append>
<el-radio-group v-model="config.uiQuickMenu" @change="switchChange('UI_QUICK_MENU', $event)">
<el-radio label="local" value="local">
{{ $t('ui.ui_local_debug') }}
</el-radio>
<el-radio label="server" value="server">
{{ $t('ui.ui_server_debug') }}
</el-radio>
</el-radio-group>
</template>
</app-manage-item>
</el-row>
</el-tab-pane>
<el-tab-pane :label="$t('commons.api')" name="api"> <el-tab-pane :label="$t('commons.api')" name="api">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="8"> <el-col :span="8">
@ -123,6 +101,28 @@
</el-row> </el-row>
</el-tab-pane> </el-tab-pane>
<!-- UI 测试 -->
<el-tab-pane v-if="isXpack" :label="$t('commons.ui_test')" name="ui_test" >
<el-row style="margin-top: 10px">
<span style="font-weight:bold">{{ $t('commons.view_settings') }}</span>
</el-row>
<el-row style="margin-top: 15px">
<app-manage-item :title="$t('ui.ui_debug_mode')"
:append-span="12" :prepend-span="12" :middle-span="0">
<template #append>
<el-radio-group v-model="config.uiQuickMenu" @change="switchChange('UI_QUICK_MENU', $event)">
<el-radio label="local" value="local">
{{ $t('ui.ui_local_debug') }}
</el-radio>
<el-radio label="server" value="server">
{{ $t('ui.ui_server_debug') }}
</el-radio>
</el-radio-group>
</template>
</app-manage-item>
</el-row>
</el-tab-pane>
<el-tab-pane :label="$t('commons.performance')" name="performance"> <el-tab-pane :label="$t('commons.performance')" name="performance">
<el-row style="margin-top: 10px"> <el-row style="margin-top: 10px">
<span style="font-weight:bold">{{ this.$t('commons.enable_settings') }}</span> <span style="font-weight:bold">{{ this.$t('commons.enable_settings') }}</span>

View File

@ -10,7 +10,7 @@
@input="change()" @input="change()"
/> />
</div> </div>
<div class="server-desc">(示例: http://192.168.1.101:4444)</div> <div class="server-desc">(示例: http://localhost:4444)</div>
</div> </div>
<div class="setting-opt-row"> <div class="setting-opt-row">
<el-button size="small" @click="cancel">{{ <el-button size="small" @click="cancel">{{

@ -1 +1 @@
Subproject commit 4bfd301399124b83199c4a767f8c7f42a5f6b20a Subproject commit dd23fbfeec87d6b1d4dbcf28fa36174b396a63e9