Skip to content

Commit b89e9ce

Browse files
committed
update 挂载全局属性改为操作vue模块
1 parent 014bedd commit b89e9ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/module.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import type { LanguageType } from '@/lang';
1212

1313
export {};
1414

15-
declare module '@vue/runtime-core' {
15+
declare module 'vue' {
1616
interface ComponentCustomProperties {
1717
// 全局方法声明
1818
$modal: typeof modal;

0 commit comments

Comments
 (0)