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 8047f12387
commit 7212bf4b8c
4 changed files with 11 additions and 9 deletions

View File

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

View File

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

View File

@ -1,10 +1,10 @@
<template>
<el-dialog :visible="dialogVisible" :title="dialogTitle"
@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-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-select>
</el-form-item>