From ddf0e6f536c523af0aaf66ab0d12bdd009195cfd Mon Sep 17 00:00:00 2001 From: "X.Mo" Date: Thu, 29 Feb 2024 16:57:48 +0800 Subject: [PATCH] merge main --- src/components/ma-crud/index.vue | 2 +- src/components/ma-form/formItem/form-input-number.vue | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/ma-crud/index.vue b/src/components/ma-crud/index.vue index 1f192d9a..54bd1af9 100644 --- a/src/components/ma-crud/index.vue +++ b/src/components/ma-crud/index.vue @@ -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 } diff --git a/src/components/ma-form/formItem/form-input-number.vue b/src/components/ma-form/formItem/form-input-number.vue index 4f51a37c..ddcfe9f3 100644 --- a/src/components/ma-form/formItem/form-input-number.vue +++ b/src/components/ma-form/formItem/form-input-number.vue @@ -36,6 +36,12 @@ @focus="rv('onFocus')" @blur="rv('onBlur')" > + +