feat: 添加 TooltipEffect 全局配置,可配置平台主体所有 el-tooltipeffect,不影响业务代码

This commit is contained in:
xiaoxian521
2022-12-02 16:46:48 +08:00
parent cf8e5897fb
commit 86b77c2877
12 changed files with 97 additions and 73 deletions

3
types/global.d.ts vendored
View File

@@ -4,9 +4,7 @@ import type {
PropType as VuePropType,
ComponentPublicInstance
} from "vue";
import type { ECharts } from "echarts";
import type { IconifyIcon } from "@iconify/vue";
import type { ResponsiveStorage } from "./index";
import type { TableColumns } from "@pureadmin/table";
import { type RouteComponent, type RouteLocationNormalized } from "vue-router";
@@ -96,6 +94,7 @@ declare global {
ShowModel?: string;
MenuArrowIconNoTransition?: boolean;
CachingAsyncRoutes?: boolean;
TooltipEffect?: Effect;
MapConfigure?: {
amapKey?: string;
options: {

2
types/index.d.ts vendored
View File

@@ -45,6 +45,8 @@ type TimeoutHandle = ReturnType<typeof setTimeout>;
type IntervalHandle = ReturnType<typeof setInterval>;
type Effect = "light" | "dark";
interface ChangeEvent extends Event {
target: HTMLInputElement;
}