From 6e78d5ae3ccf8c592ba6c698c2a6e90587d7a7f6 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期四, 12 十二月 2024 13:20:55 +0800
Subject: [PATCH] Merge branch 'master' of http://dlindusit.com:53929/r/iailab-plat-ui-vue3

---
 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