From 97c0cde8cd95d641cab469debfa6978a6dcc5710 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期四, 02 一月 2025 09:41:21 +0800 Subject: [PATCH] process-designer.scss文件将@use修改为@import,解决项目发布后第一次打开一个流程设计图时报错的bug --- src/api/model/mpk/project.ts | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/api/model/mpk/project.ts b/src/api/model/mpk/project.ts index 514b05b..33f1cf6 100644 --- a/src/api/model/mpk/project.ts +++ b/src/api/model/mpk/project.ts @@ -1,6 +1,6 @@ import request from '@/config/axios' -export const getPage = async (params: PageParam) => { +export const getPage = async (params) => { return await request.get({ url: '/model/mpk/project/page', params }) } @@ -21,13 +21,14 @@ } export const packageProject = (params) => { - return request.download({ url: '/model/mpk/file/packageModel', params }) + // 超时时间两分钟 + return request.download({ url: '/model/mpk/file/packageModel', params, timeout: 2 * 60 * 1000 }) } export const list = () => { return request.get({ url: '/model/mpk/project/list'}) } -export const getProjectModel = async (params: PageParam) => { +export const getProjectModel = async (params) => { return await request.get({ url: '/model/mpk/project/getProjectModel', params }) } -- Gitblit v1.9.3