Browse Source

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

pull/3953/head
ssongliu 9 months ago committed by GitHub
parent
commit
1b47e8dd63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      frontend/src/views/app-store/detail/params/index.vue
  2. 7
      frontend/src/views/app-store/installed/detail/index.vue

2
frontend/src/views/app-store/detail/params/index.vue

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

7
frontend/src/views/app-store/installed/detail/index.vue

@ -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…
Cancel
Save