Skip to content

Commit

Permalink
releases 4.2.55
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Nov 15, 2024
1 parent 4c1898a commit 6b3773f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
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.2.54",
"version": "4.2.55",
"description": "A vue based PC component library",
"scripts": {
"update": "npm install --legacy-peer-deps",
Expand Down
2 changes: 1 addition & 1 deletion packages/number-input/src/number-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ export default defineComponent({
}

const handleChange = (val: number | null, inputValue: string, evnt: Event | { type: string }) => {
const value = val ? Number(val) : null
const value = XEUtils.eqNull(val) ? null : Number(val)
const isChange = Number(value) !== props.modelValue
if (isChange) {
reactData.inputValue = inputValue || ''
Expand Down
8 changes: 6 additions & 2 deletions types/components/table-module/edit.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ export interface TableEditMethods<D = any> {
* 请使用 clearEdit()
* @deprecated
*/
clearActived(evnt?: Event): Promise<any>
clearActived(row?: any): Promise<any>
/**
* 手动清除单元格激活状态
*/
clearEdit(evnt?: Event): Promise<any>
clearEdit(row?: any): Promise<any>
/**
* 手动清除单元格选中状态
*/
Expand Down Expand Up @@ -154,6 +154,10 @@ export interface TableEditPrivateMethods<D = any> {
* @private
*/
handleEdit(params: any, evnt?: any): Promise<any>
/**
* @private
*/
handleClearEdit(evnt: Event | null, row?: any): Promise<any>
/**
* @private
*/
Expand Down

0 comments on commit 6b3773f

Please sign in to comment.