mirror of
https://gitee.com/fit2cloud-feizhiyun/1Panel.git
synced 2024-12-05 21:38:26 +08:00
feat: 优化已安装应用的参数显示 (#6188)
This commit is contained in:
parent
8187a19e6e
commit
07562c203a
@ -37,7 +37,7 @@
|
||||
"codemirror": "^6.0.1",
|
||||
"echarts": "^5.5.0",
|
||||
"element-plus": "^2.7.5",
|
||||
"fit2cloud-ui-plus": "^1.1.4",
|
||||
"fit2cloud-ui-plus": "^1.1.6",
|
||||
"highlight.js": "^11.9.0",
|
||||
"js-base64": "^3.7.7",
|
||||
"md-editor-v3": "^2.11.3",
|
||||
|
@ -23,7 +23,11 @@
|
||||
<el-alert :title="$t('app.updateHelper')" type="warning" :closable="false" class="common-prompt" />
|
||||
<el-form @submit.prevent ref="paramForm" :model="paramModel" label-position="top" :rules="rules">
|
||||
<div v-for="(p, index) in params" :key="index">
|
||||
<el-form-item :prop="p.key" :label="getLabel(p)">
|
||||
<el-form-item
|
||||
:prop="p.key"
|
||||
:label="getLabel(p)"
|
||||
v-if="p.showValue == undefined || p.showValue == ''"
|
||||
>
|
||||
<el-input
|
||||
v-if="p.type == 'number'"
|
||||
type="number"
|
||||
@ -45,6 +49,9 @@
|
||||
</el-select>
|
||||
<el-input v-else v-model.trim="paramModel.params[p.key]" :disabled="!p.edit"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item :prop="p.key" :label="getLabel(p)" v-else>
|
||||
<el-input v-model.trim="p.showValue" :disabled="!p.edit"></el-input>
|
||||
</el-form-item>
|
||||
</div>
|
||||
<el-form-item prop="advanced">
|
||||
<el-checkbox v-model="paramModel.advanced" :label="$t('app.advanced')" size="large" />
|
||||
|
Loading…
Reference in New Issue
Block a user