refactor(项目设置): 导入环境页面样式

--bug=1014832 --user=李玉号 【项目设置】项目下导入环境,不需要选择环境,默认为当前环境
This commit is contained in:
shiziyuan9527 2022-07-20 15:49:36 +08:00 committed by shiziyuan9527
parent 7a2611f866
commit 1abfd37ebe
1 changed files with 5 additions and 5 deletions

View File

@ -1,11 +1,11 @@
<template> <template>
<el-dialog :visible="dialogVisible" :title="dialogTitle" <el-dialog :visible="dialogVisible" :title="dialogTitle"
@close="close" :close-on-click-modal="false" @close="close" :close-on-click-modal="false"
:width="!toImportProjectId ? `50%` : `25%`"> width="50%">
<el-form> <el-form>
<el-row> <el-row type="flex" justify="center">
<el-col :span="6"> <el-col :span="!toImportProjectId ? 6 : 0">
<div class="project-item" v-if="!toImportProjectId"> <div class="project-item">
<div style="margin-bottom: 10px"> <div style="margin-bottom: 10px">
{{$t('project.select')}} {{$t('project.select')}}
</div> </div>
@ -16,7 +16,7 @@
</el-select> </el-select>
</div> </div>
</el-col> </el-col>
<el-col :span="16" :offset="1"> <el-col :span="16" style="text-align: center;">
<el-upload <el-upload
class="api-upload" drag action="alert" class="api-upload" drag action="alert"
:on-change="handleFileChange" :on-change="handleFileChange"