feat: add useParentField

This commit is contained in:
chenjiahan
2020-08-27 10:11:12 +08:00
parent 216417eae6
commit 0b147c5872
4 changed files with 26 additions and 6 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
import { FIELD_KEY } from '../field';
export const FieldMixin = {
inject: {
vanField: {
from: 'vanField',
from: FIELD_KEY,
default: null,
},
},