fix(项目设置): 修复环境相关问题

--bug=1025127 --user=王孝刚 【项目设置】项目环境-创建环境页面显示错误
https://www.tapd.cn/55049933/s/1359460
This commit is contained in:
wxg0103 2023-04-04 17:19:02 +08:00 committed by fit2-zhao
parent a7b702382d
commit ad689949ae
4 changed files with 11 additions and 9 deletions

View File

@ -485,6 +485,7 @@ export default {
this.variables.forEach((item) => { this.variables.forEach((item) => {
item.hidden = undefined; item.hidden = undefined;
if (item.name && item.name != '') { if (item.name && item.name != '') {
item.showMore = false;
saveVariables.push(item); saveVariables.push(item);
} }
}); });

View File

@ -85,6 +85,7 @@ export default {
this.icon= ['fa', 'expand-alt']; this.icon= ['fa', 'expand-alt'];
} }
this.$emit("update:isFullScreen",bool); this.$emit("update:isFullScreen",bool);
this.$emit("fullScreen");
}, },
}, },
}; };

View File

@ -1,10 +1,10 @@
<template> <template>
<el-dialog :visible="dialogVisible" :title="dialogTitle" <el-dialog :visible="dialogVisible" :title="dialogTitle"
@close="close" :close-on-click-modal="false" append-to-body @close="close" :close-on-click-modal="false" append-to-body
width="35%"> width="550px">
<el-form :rules="rules" label-width="80px" v-model="modeId"> <el-form :rules="rules" label-width="80px" v-model="modeId">
<el-form-item prop="modeId" :label="$t('commons.import_mode')"> <el-form-item prop="modeId" :label="$t('commons.import_mode')">
<el-select size="small" v-model="modeId"> <el-select size="small" v-model="modeId" style="width: 360px">
<el-option v-for="item in modeOptions" :key="item.id" :label="item.name" :value="item.id"/> <el-option v-for="item in modeOptions" :key="item.id" :label="item.name" :value="item.id"/>
</el-select> </el-select>
</el-form-item> </el-form-item>