update 重构 彻底删除proxy用法 改为vue3官方推荐写法

This commit is contained in:
疯狂的狮子Li
2026-04-10 13:07:37 +08:00
parent eb62402423
commit 9acf52e8a7
144 changed files with 1264 additions and 1082 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
* v-copyText 复制文本内容
* Copyright (c) 2022 ruoyi
*/
import { DirectiveBinding } from 'vue';
import type { DirectiveBinding } from 'vue';
export default {
beforeMount(el: any, { value, arg }: DirectiveBinding) {
+1 -1
View File
@@ -1,6 +1,6 @@
import type { App } from 'vue';
import copyText from './common/copyText';
import { hasPermi, hasRoles } from './permission';
import { App } from 'vue';
export default (app: App) => {
app.directive('copyText', copyText);
+1 -1
View File
@@ -1,4 +1,4 @@
import { Directive, DirectiveBinding } from 'vue';
import type { Directive, DirectiveBinding } from 'vue';
import { useUserStore } from '@/store/modules/user';
/**
* 操作权限处理