Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
kanyxmo committed Feb 29, 2024
1 parent bcd558a commit ddf0e6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ma-crud/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ const requestHandle = async () => {
} else {
console.error(`ma-crud error:crud.api not is Function.`)
}
isFunction(options.value.afterRequest) && options.value.afterRequest(tableData.value)
isFunction(options.value.afterRequest) && (tableData.value = options.value.afterRequest(tableData.value))
loading.value = false
}

Expand Down
6 changes: 6 additions & 0 deletions src/components/ma-form/formItem/form-input-number.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
@focus="rv('onFocus')"
@blur="rv('onBlur')"
>
<template #prepend v-if="props.component.openPrepend">
<slot :name="`inputPrepend-${props.component.dataIndex}`" />
</template>
<template #append v-if="props.component.openAppend">
<slot :name="`inputAppend-${props.component.dataIndex}`" />
</template>
<template #suffix v-if="props.component.openSuffix">
<slot :name="`inputSuffix-${props.component.dataIndex}`" />
</template>
Expand Down

0 comments on commit ddf0e6f

Please sign in to comment.