Răsfoiți Sursa

新增版本号接口

zhangjintao 1 an în urmă
părinte
comite
5cfecfa9e4

+ 2 - 2
library/components/VabFooter/index.vue

@@ -7,9 +7,9 @@
   const { title } = storeToRefs(settingsStore)
   const getVersionFn = async () => {
     const { data } = await getVersion({})
-    const list = data.records
+    const list = data
     if (list.length) {
-      cot.value = list[0].versionCode
+      cot.value = list
     } else {
       cot.value = '1.0.0'
     }

+ 1 - 1
online/index.html

@@ -33,7 +33,7 @@
     />
     <meta content="vue-admin-better" name="author" />
     <link
-      href="static/css/loading.css?random=2023-09-28 16:40:26-zh-mead"
+      href="static/css/loading.css?random=2023-10-14 18:23:55-zh-mead"
       rel="stylesheet"
     />
   <script defer src="static/js/chunk-vendors.js"></script><script defer src="static/js/app.js"></script><!--[if IE]><link rel="icon" type="image/svg+xml" href="img/icons/favicon.svg"><![endif]--><link rel="icon" type="image/png" sizes="32x32" href="img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="img/icons/favicon-16x16.png"><link rel="manifest" href="manifest.json"><meta name="theme-color" content="#ffffff"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><meta name="apple-mobile-web-app-title" content="admin-plus"><link rel="apple-touch-icon" href="img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="img/icons/safari-pinned-tab.svg" color="#ffffff"><meta name="msapplication-TileImage" content="img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#ffffff"></head>

Fișier diff suprimat deoarece este prea mare
+ 1 - 1
online/static/js/app.js


Fișier diff suprimat deoarece este prea mare
+ 1 - 1
online/static/js/chunk-vendors.js


Fișier diff suprimat deoarece este prea mare
+ 1 - 1
online/static/js/library_components_Batchimport_index_vue-src_plugins_VabCount_index_vue-src_plugins_VabIconSe-e18346.js


+ 1 - 1
online/static/js/library_components_RichText_index_vue.js

@@ -1,7 +1,7 @@
 /*!
  *  build: Vue  Admin Plus
  *  copyright: vue-admin-beautiful.com
- *  time: 2023-09-28 16:40:26
+ *  time: 2023-10-14 18:23:55
  */
 /*
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").

Fișier diff suprimat deoarece este prea mare
+ 1 - 1
online/static/js/library_components_VabColorfulCard_index_vue-library_components_VabNotice_components_NoticeEd-110034.js


+ 1 - 1
online/static/js/src_plugins_VabAnchor_index_vue-src_views_equipment_components_DataPermission_vue-src_views_e-003f47.js

@@ -1,7 +1,7 @@
 /*!
  *  build: Vue  Admin Plus
  *  copyright: vue-admin-beautiful.com
- *  time: 2023-09-28 16:40:26
+ *  time: 2023-10-14 18:23:55
  */
 /*
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").

+ 1 - 1
online/static/js/src_plugins_VabChart_index_vue.js

@@ -1,7 +1,7 @@
 /*!
  *  build: Vue  Admin Plus
  *  copyright: vue-admin-beautiful.com
- *  time: 2023-09-28 16:40:26
+ *  time: 2023-10-14 18:23:55
  */
 /*
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").

+ 1 - 1
online/static/js/src_plugins_VabCropper_index_vue-src_views_403_vue-src_views_404_vue-src_views_callback_index-85f8b1.js

@@ -1,7 +1,7 @@
 /*!
  *  build: Vue  Admin Plus
  *  copyright: vue-admin-beautiful.com
- *  time: 2023-09-28 16:40:26
+ *  time: 2023-10-14 18:23:55
  */
 /*
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").

+ 1 - 1
online/static/js/src_views_index_components_Access_vue-src_views_index_components_Authorization_vue-src_views_-c4f07e.js

@@ -1,7 +1,7 @@
 /*!
  *  build: Vue  Admin Plus
  *  copyright: vue-admin-beautiful.com
- *  time: 2023-09-28 16:40:26
+ *  time: 2023-10-14 18:23:55
  */
 /*
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").

+ 1 - 1
online/static/js/src_views_register_index_vue.js

@@ -1,7 +1,7 @@
 /*!
  *  build: Vue  Admin Plus
  *  copyright: vue-admin-beautiful.com
- *  time: 2023-09-28 16:40:26
+ *  time: 2023-10-14 18:23:55
  */
 /*
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").

+ 1 - 1
src/api/user.ts

@@ -57,7 +57,7 @@ export function register(data: any) {
 //获取版本号列表
 export function getVersion(params: any) {
   return request({
-    url: '/sys/log/page',
+    url: '/sys/log/newVersion',
     method: 'get',
     params,
   })

+ 1 - 1
vue.config.js

@@ -66,7 +66,7 @@ module.exports = defineConfig({
     // 4、webpack5版本前端配置代理无法与mock同时使用,如果一定要用前端代理,需注释setupMiddlewares: require('./mock')
     proxy: {
       [baseURL]: {
-        target: `http://192.168.12.123:80`,
+        target: `http://192.168.212.157:80/`,
         ws: true,
         changeOrigin: true,
         pathRewrite: {

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff