做双端审批流

This commit is contained in:
hero920103 committed 2026-10-07 13:46:32 +08:00
1 parent 5b4dbb2b46
commit ffaadc26ae
69 files changed
+6662 -1071

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
/**
* 移动端「工作台」接口
*
* /app/home 一次返回首屏所需的全部数据(应用模块卡片 + 可见菜单 + KPI),
* /api/home 一次返回首屏所需的全部数据(应用模块卡片 + 可见菜单 + KPI),
* 避免移动端首屏多次往返。
*/
import { request } from '@/api/request.js'
@@ -18,7 +18,7 @@ let cacheAt = 0
export async function fetchHome(force = false) {
if (!force && cache && Date.now() - cacheAt < CACHE_TTL) return cache
const data = await request({
url: '/app/home',
url: '/api/home',
method: 'GET',
silent: true,
timeout: 15000