Skip to content

Commit

Permalink
releases 4.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Aug 21, 2024
1 parent 755eac6 commit ee64630
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion helper/vetur/attributes.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion helper/vetur/tags.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vxe-pc-ui",
"version": "4.1.0",
"version": "4.1.1",
"description": "A vue based PC component library",
"scripts": {
"update": "npm install --legacy-peer-deps",
Expand Down
8 changes: 4 additions & 4 deletions packages/form-design/src/widget-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ export function configToWidget (conf: {
}) {
const widget = new FormDesignWidgetInfo(null, conf.name, [])
widget.id = conf.id
widget.title = conf.title
widget.field = conf.field
widget.required = conf.required
widget.hidden = conf.hidden
widget.title = conf.title || ''
widget.field = conf.field || ''
widget.required = conf.required || false
widget.hidden = conf.hidden || false
widget.options = Object.assign({}, widget.options, conf.options)
widget.children = conf.children ? conf.children.map(item => configToWidget(item)) : []
return widget
Expand Down
8 changes: 3 additions & 5 deletions types/components/icon-picker.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RenderFunction, SetupContext, Ref, ComponentPublicInstance, DefineComponent } from 'vue'
import { defineVxeComponent, VxeComponentBaseOptions, VxeComponentEventParams, ValueOf, VxeComponentSizeType } from '@vxe-ui/core'
import { defineVxeComponent, VxeComponentBaseOptions, VxeComponentEventParams, ValueOf, VxeComponentStyleType, VxeComponentSizeType } from '@vxe-ui/core'

/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */

Expand Down Expand Up @@ -44,10 +44,8 @@ export type VxeIconPickerProps = {
modelValue?: VxeIconPickerPropTypes.ModelValue
placeholder?: VxeIconPickerPropTypes.Placeholder
size?: VxeIconPickerPropTypes.Size
className?: VxeSelectPropTypes.ClassName
popupClassName?: VxeSelectPropTypes.PopupClassName
options?: VxeIconPickerPropTypes.Options
pptionProps?: VxeIconPickerPropTypes.OptionProps
className?: VxeIconPickerPropTypes.ClassName
popupClassName?: VxeIconPickerPropTypes.PopupClassName
readonly?: VxeIconPickerPropTypes.Readonly
disabled?: VxeIconPickerPropTypes.Disabled
icons?: VxeIconPickerPropTypes.Icons
Expand Down
2 changes: 1 addition & 1 deletion types/components/list-view.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export interface ListViewMethods<D = any> {
/**
* 获取表单查询条件
*/
getQueryFilter(): VxeListDesignDefines.QueryFilterResult
getQueryFilter(): VxeListViewDefines.QueryFilterResult
/**
* 给 Grid 数据代理提交指令
* @param code 指令编码
Expand Down
4 changes: 2 additions & 2 deletions types/components/tree-select.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,15 @@ export namespace VxeTreeSelectDefines {
}

export interface VxeTreeSelectEventProps<D = any> {
onChange?: VxeTreeSelectEvents.Changes<D>
onChange?: VxeTreeSelectEvents.Change<D>
onClear?: VxeTreeSelectEvents.Clear
onFocus?: VxeTreeSelectEvents.Focus
onBlur?: VxeTreeSelectEvents.Blur
onClick?: VxeTreeSelectEvents.Click
}

export interface VxeTreeSelectListeners<D = any> {
change?: VxeTreeSelectEvents.Changes<D>
change?: VxeTreeSelectEvents.Change<D>
clear?: VxeTreeSelectEvents.Clear
focus?: VxeTreeSelectEvents.Focus
blur?: VxeTreeSelectEvents.Blur
Expand Down

0 comments on commit ee64630

Please sign in to comment.