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