first commit
This commit is contained in:
20
node_modules/@vueuse/integrations/dist/useAsyncValidator/component.js
generated
vendored
Normal file
20
node_modules/@vueuse/integrations/dist/useAsyncValidator/component.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import { t as useAsyncValidator } from "../useAsyncValidator-pcZPyeq7.js";
|
||||
import { defineComponent, reactive } from "vue";
|
||||
|
||||
//#region useAsyncValidator/component.ts
|
||||
const UseAsyncValidator = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
||||
const data = reactive(useAsyncValidator(props.form, props.rules));
|
||||
return () => {
|
||||
if (slots.default) return slots.default(data);
|
||||
};
|
||||
}, {
|
||||
name: "UseAsyncValidator",
|
||||
props: [
|
||||
"form",
|
||||
"options",
|
||||
"rules"
|
||||
]
|
||||
});
|
||||
|
||||
//#endregion
|
||||
export { UseAsyncValidator };
|
||||
Reference in New Issue
Block a user