/** * 页面服务 */ export declare class PageSvc { /** * 保存字段配置 */ setColumnWidth: (route: string, tableName: string, fieldName: string, width: number) => Promise; /** * 获取抽屉宽度,得到的结果是相对于整个页面的宽度 */ getDrawerWidth: (width: number) => "60%" | "90%" | "80%" | "70%" | "50%"; /** * 把字符串转换成实际类型。场景1: query字符串转换 */ convert: (value: string, type: string) => string | number; }