Преглед на файлове

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

疯狂的狮子Li преди 1 година
родител
ревизия
14f6a214f2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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;