chore: 🔨 框架代码同步

[skip ci]
This commit is contained in:
tk
2025-04-25 10:42:30 +08:00
committed by nsnail
parent 220b19d152
commit d5a7f0fca2
3 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<el-icon-loading />
</el-icon>
</div>
<el-select v-bind="$attrs" :loading="loading" @visible-change="visibleChange">
<el-select v-bind="$attrs" :allow-create="allowCreate" :loading="loading" @visible-change="visibleChange">
<el-option v-for="item in options" :key="item[props.value]" :label="item[props.label]" :value="objValueType ? item : item[props.value]">
<slot :data="item" name="option"></slot>
</el-option>
@ -24,6 +24,7 @@ export default {
},
dic: { type: String, default: '' },
objValueType: { type: Boolean, default: false },
allowCreate: { type: Boolean, default: false },
params: { type: Object, default: () => ({}) },
config: { type: Object },
},