refactor: code optimization

This commit is contained in:
Vben
2021-03-10 22:23:19 +08:00
parent 0fe42a06c1
commit 2c6aa8528d
39 changed files with 72 additions and 207 deletions

View File

@@ -1,6 +1,5 @@
import { ref, watch } from 'vue';
import { tryOnUnmounted } from '/@/utils/helper/vueHelper';
import { tryOnUnmounted } from '@vueuse/core';
import { isFunction } from '/@/utils/is';
export function useTimeoutFn(handle: Fn<any>, wait: number, native = false) {