first build
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { getCurrentScope, onScopeDispose, getCurrentInstance } from 'file:///mnt/new-volume-7/vue_projects/montify/montify/node_modules/vue/index.mjs';
|
||||
|
||||
function tryOnScopeDispose(fn) {
|
||||
if (getCurrentScope()) {
|
||||
onScopeDispose(fn);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
||||
function getLifeCycleTarget(target) {
|
||||
return getCurrentInstance();
|
||||
}
|
||||
function tryOnUnmounted(fn, target) {
|
||||
getLifeCycleTarget();
|
||||
}
|
||||
|
||||
export { tryOnScopeDispose as a, tryOnUnmounted as t };
|
||||
Reference in New Issue
Block a user