新项目, antd6, react19
This commit is contained in:
23
src/vite-env.d.ts
vendored
Normal file
23
src/vite-env.d.ts
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
declare interface Window {
|
||||
dfConfig: {
|
||||
isPhone: boolean;
|
||||
/** 表格设置粘性头部 */
|
||||
tableStickyOffsetHeader: number;
|
||||
/** 语言 */
|
||||
language: "zh-cn" | "en";
|
||||
/** 视口高度 */
|
||||
vhUnit: "vh" | "dvh";
|
||||
};
|
||||
showProcessGraphId?: number;
|
||||
debug: {
|
||||
add: (data: { [key: string]: any }) => void;
|
||||
};
|
||||
dfERPConfig: {
|
||||
/** 价格小数点保留位数 */
|
||||
PRICE_HOLD_POINT: number;
|
||||
/** 数量小数点保留位数 */
|
||||
NUMS_HOLD_POINT: number;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user