perf(Stepper): should not introduce form code #7675

This commit is contained in:
chenjiahan
2020-12-04 17:48:10 +08:00
parent 20ba7afb33
commit 497a88d7bb
3 changed files with 5 additions and 6 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
import { watch, inject } from 'vue';
import { FIELD_KEY } from '../field';
export const FORM_KEY = 'vanForm';
export const FIELD_KEY = 'vanField';
export function useLinkField(getValue: () => unknown) {
const field = inject(FIELD_KEY, null) as any;