| | |
| | | import config from "@/config"; |
| | | import { getAllVersion } from "@/api/viewIndex"; |
| | | // import { getAllVersion } from "@/api/viewIndex"; |
| | | import bus from "@/plugins/bus"; |
| | | let hasTriggeredVersionCheckInSession = false; |
| | | |
| | |
| | | tenantId: 1, |
| | | }; |
| | | console.log(`${logPrefix} 查询参数:`, params); |
| | | const res = await getAllVersion(params); |
| | | // 临时停用版本列表接口调用,恢复时取消下面两行的注释/占位即可。 |
| | | // const res = await getAllVersion(params); |
| | | const res = null; |
| | | console.log(`${logPrefix} 接口返回:`, res); |
| | | const first = Array.isArray(res?.rows) |
| | | ? res.rows[0] |