Skip to content

Commit 5c2ae10

Browse files
committed
refactor: 调整 HookListenerWithDispose 类型导入路径
1 parent 6a6b0a6 commit 5c2ae10

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/utils-uni/src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { HookListenerWithDispose } from '@cloudcome/utils-vue/page';
1+
import type { HookListenerWithDispose } from '@cloudcome/utils-vue/component';
22
import { _runLifeHook } from '@cloudcome/utils-vue/shared';
33
import { onHide, onShow } from '@dcloudio/uni-app';
44

packages/utils-uni/src/page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { AnyObject } from '@cloudcome/utils-core/types';
2-
import type { HookListenerWithDispose } from '@cloudcome/utils-vue/page';
2+
import type { HookListenerWithDispose } from '@cloudcome/utils-vue/component';
33
import { _runLifeHook } from '@cloudcome/utils-vue/shared';
44
import { onHide, onLoad, onPageHide, onPageShow, onShow, onUnload } from '@dcloudio/uni-app';
55
import { type Reactive, reactive, unref } from 'vue';

0 commit comments

Comments
 (0)