chore: rename useParentField to useLinkField

This commit is contained in:
chenjiahan
2020-09-26 11:24:42 +08:00
parent 7bf95d4bcf
commit 9010a0edf1
9 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import { computed, watch } from 'vue';
import { createNamespace, pick } from '../utils';
import { useExpose } from '../composition/use-expose';
import { useParentField } from '../composition/use-parent-field';
import { useLinkField } from '../composition/use-link-field';
import { useParent } from '../composition/use-relation';
import Checker, { checkerProps } from './Checker';
@@ -81,7 +81,7 @@ export default createComponent({
);
useExpose({ toggle, checked });
useParentField(() => props.modelValue);
useLinkField(() => props.modelValue);
return () => (
<Checker