fix: fix form,transition,build bug

This commit is contained in:
陈文彬
2020-10-01 00:24:14 +08:00
parent 351f60a8af
commit 2f268ca8f4
20 changed files with 7315 additions and 227 deletions

View File

@@ -0,0 +1,11 @@
import { tryOnUnmounted } from '/@/utils/helper/vueHelper';
import {} from 'vue';
import EventHub from '/@/utils/eventHub';
const eventHub = new EventHub();
export function useEventHub(): EventHub {
tryOnUnmounted(() => {
eventHub.clear();
});
return eventHub;
}