update 挂载全局属性改为操作vue模块

This commit is contained in:
lau
2025-09-28 10:23:17 +08:00
parent 014bedd301
commit b89e9cee7f

View File

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