增加前端请求超时配置

用户部门优化(用户所属部门改为列表,增加是否同步配置项)
switch组件支持自定义值
基本表格可编辑字段组件增加onUpdate支持响应式
This commit is contained in:
yaoyn
2024-11-28 15:47:59 +08:00
parent 4231f1dd6d
commit 020a0a20ee
12 changed files with 172 additions and 18 deletions

2
types/config.d.ts vendored
View File

@ -133,6 +133,7 @@ export interface GlobConfig {
title: string;
// Service interface url
apiUrl: string;
requestTimeout?: number;
// Upload url
uploadUrl?: string;
// Service interface url prefix
@ -153,6 +154,7 @@ export interface GlobEnvConfig {
// Service interface url prefix
VITE_GLOB_API_URL_PREFIX?: string;
// Project abbreviation
VITE_GLOB_REQUEST_TIMEOUT?: number;
VITE_GLOB_APP_SHORT_NAME: string;
// Upload url
VITE_GLOB_UPLOAD_URL?: string;