fix: some error

This commit is contained in:
vben
2020-10-31 00:15:14 +08:00
parent 9abf1763c7
commit 2407b3368c
28 changed files with 359 additions and 101 deletions

View File

@@ -7,5 +7,5 @@ export function provideModal(redoHeight: Fn) {
}
export function injectModal(): Fn {
return inject(key) as Fn;
return inject(key, () => {}) as Fn;
}