Skip to content

Commit ddf0e6f

Browse files
committed
merge main
1 parent bcd558a commit ddf0e6f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/components/ma-crud/index.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ const requestHandle = async () => {
484484
} else {
485485
console.error(`ma-crud error:crud.api not is Function.`)
486486
}
487-
isFunction(options.value.afterRequest) && options.value.afterRequest(tableData.value)
487+
isFunction(options.value.afterRequest) && (tableData.value = options.value.afterRequest(tableData.value))
488488
loading.value = false
489489
}
490490

src/components/ma-form/formItem/form-input-number.vue

+6
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@
3636
@focus="rv('onFocus')"
3737
@blur="rv('onBlur')"
3838
>
39+
<template #prepend v-if="props.component.openPrepend">
40+
<slot :name="`inputPrepend-${props.component.dataIndex}`" />
41+
</template>
42+
<template #append v-if="props.component.openAppend">
43+
<slot :name="`inputAppend-${props.component.dataIndex}`" />
44+
</template>
3945
<template #suffix v-if="props.component.openSuffix">
4046
<slot :name="`inputSuffix-${props.component.dataIndex}`" />
4147
</template>

0 commit comments

Comments
 (0)