Browse Source

!75 fix: 修复vscode全局属性ts爆红问题
Merge pull request !75 from dhb52/N/A

疯狂的狮子Li 1 year ago
parent
commit
14f6a214f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/types/module.d.ts

+ 1 - 1
src/types/module.d.ts

@@ -11,7 +11,7 @@ import { download as rd } from '@/utils/request';
 
 export {};
 
-declare module '@vue/runtime-core' {
+declare module 'vue' {
   interface ComponentCustomProperties {
     // 全局方法声明
     $modal: typeof modal;