mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-27 20:49:03 +08:00
fix: 解决 Pr 导致的代码冲突 (#3949)
This commit is contained in:
parent
b668f55222
commit
1b47e8dd63
@ -42,7 +42,7 @@
|
||||
{{ $t('app.toInstall') }}
|
||||
</el-link>
|
||||
</span>
|
||||
<el-select v-model="form[p.envKey]" v-if="p.type == 'select'">
|
||||
<el-select v-model="form[p.envKey]" v-if="p.type == 'select'" :multiple="p.multiple">
|
||||
<el-option
|
||||
v-for="service in p.values"
|
||||
:key="service.label"
|
||||
|
@ -30,7 +30,11 @@
|
||||
v-model.number="paramModel.params[p.key]"
|
||||
:disabled="!p.edit"
|
||||
></el-input>
|
||||
<el-select v-model="paramModel.params[p.key]" v-else-if="p.type == 'select'">
|
||||
<el-select
|
||||
v-model="paramModel.params[p.key]"
|
||||
v-else-if="p.type == 'select'"
|
||||
:multiple="p.multiple"
|
||||
>
|
||||
<el-option
|
||||
v-for="value in p.values"
|
||||
:key="value.label"
|
||||
@ -201,6 +205,7 @@ const get = async () => {
|
||||
type: d.type,
|
||||
values: d.values,
|
||||
showValue: d.showValue,
|
||||
multiple: d.multiple,
|
||||
});
|
||||
rules.params[d.key] = [Rules.requiredInput];
|
||||
if (d.rule) {
|
||||
|
Loading…
Reference in New Issue
Block a user