Browse Source

!244 update 挂载全局属性改为操作vue模块
Merge pull request !244 from Lau/dev

疯狂的狮子Li 6 tháng trước cách đây
mục cha
commit
9c84bf242c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/types/module.d.ts

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

@@ -12,7 +12,7 @@ import type { LanguageType } from '@/lang';
 
 export {};
 
-declare module '@vue/runtime-core' {
+declare module 'vue' {
   interface ComponentCustomProperties {
     // 全局方法声明
     $modal: typeof modal;