From 5eaa8dc509e4cc339b98b5a9e44170990159c24e Mon Sep 17 00:00:00 2001 From: wangpeng Date: Tue, 25 Jun 2024 18:04:20 +0800 Subject: [PATCH] =?UTF-8?q?app=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/request/api.js | 2 ++ src/views/login/index.vue | 11 +++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/request/api.js b/src/request/api.js index 0434b80..ebf0e20 100644 --- a/src/request/api.js +++ b/src/request/api.js @@ -28,3 +28,5 @@ export const setVideo = (params) => post("/app/audioOrVideo/createUploadVideo", params); // 阿里云上传视频 export const setVideoRefresh = (params) => post("/app/audioOrVideo/refreshUploadVideo", params); // 阿里云上传视频刷新凭证 +export const getAppVersion = (params) => + post("/app/versionmanager/getVersion", params); // 获取动态路由 diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 13520ea..4f62e6f 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -62,7 +62,7 @@ >
{ + const resData = await getAppVersion(); + data.qyAppSrc = VITE_FILE_URL + resData.pd.FILEURL; +}; +await fnAppVersion(); const fnLogin = debounce( 1000, () => {