fix: 解决 Pr 导致的代码冲突 (#3949)

This commit is contained in:
ssongliu 2024-02-22 15:34:07 +08:00 committed by GitHub
parent b668f55222
commit 1b47e8dd63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View File

@ -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"

View File

@ -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) {