mirror of
https://gitcode.com/gh_mirrors/vue/vue-vben-admin
synced 2026-05-24 07:47:48 +00:00
fix(api-select): fixed value prop define
修复ApiSelect的value属性定义问题 fixed: #1175
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
- 修复表尾合计行与表格主体部分的列有时候未能对齐的问题
|
||||
- **MarkDown** 修复初始 value 属性的值不起作用的问题
|
||||
- **BasicUpload** 修复`accept`属性不支持`MIME`及点开头的后缀名的问题
|
||||
- **ApiSelect** 修复`value`属性的类型定义问题
|
||||
- **其它**
|
||||
- 修复部分封装组件在使用插槽时报错的问题
|
||||
- 修复`useECharts`的`theme`参数不起作用的问题
|
||||
|
||||
@@ -41,12 +41,7 @@
|
||||
},
|
||||
inheritAttrs: false,
|
||||
props: {
|
||||
value: propTypes.oneOfType([
|
||||
propTypes.object,
|
||||
propTypes.number,
|
||||
propTypes.string,
|
||||
propTypes.array,
|
||||
]),
|
||||
value: [Array, Object, String, Number],
|
||||
numberToString: propTypes.bool,
|
||||
api: {
|
||||
type: Function as PropType<(arg?: Recordable) => Promise<OptionsItem[]>>,
|
||||
|
||||
Reference in New Issue
Block a user