Quellcode durchsuchen

feat:更新转台双目相机

jinx vor 4 Jahren
Ursprung
Commit
ffccdb78ad
3 geänderte Dateien mit 15 neuen und 4 gelöschten Zeilen
  1. 4 0
      README.md
  2. 8 3
      src/page/layout/slide.vue
  3. 3 1
      src/util/http.js

+ 4 - 0
README.md

@@ -14,6 +14,9 @@ npm run dev
 # build for production with minification
 npm run build
 
+# 更新目录
+/测试服务器-120.25.146.52/root/user/java/apache-tomcat-8.0.47/webapps/4dkankan_v2/WEB-INF/classes/web/back
+
 # build for production and view the bundle analyzer report
 npm run build --report
 
@@ -28,3 +31,4 @@ npm test
 ```
 
 For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
+

+ 8 - 3
src/page/layout/slide.vue

@@ -70,14 +70,19 @@ export default {
         children: [
           { text: '八目相机', link: {name: 'edition'}, top: 182 },
           { text: '转台相机', link: {name: 'turntableCamera'}, top: 182 }
-          // { text: '反馈消息', link: {name: 'feedback'} },
-          // { text: '设备管理', link: {name: 'device'} },
-          // { text: '客户管理', link: {name: 'client'} }
         ],
         top: 154
       },
       // { text: '版本管理', link: {name: 'edition'}, top: 182 },
       { text: '数据统计', link: {name: 'Statistics'}, top: 210 }
+      // {
+      //   text: 'SDK 发布管理',
+      //   link: {name: 'sdkManage'},
+      //   children: [
+      //     { text: 'Space target', link: {name: 'sdkManage'}, top: 182 }
+      //   ],
+      //   top: 154
+      // }
     //   { text: '数据下载', link: {name: 'Down'}, top: 210 }
       // ,
       // {

+ 3 - 1
src/util/http.js

@@ -1,7 +1,9 @@
 import axios from 'axios'
 
 // 配置请求域名
-let server = process.env.NODE_ENV === 'development' ? 'https://test.4dkankan.com/api' : '/api'
+// let server = process.env.NODE_ENV === 'development' ? 'https://test.4dkankan.com/api' : '/api'
+let server = process.env.NODE_ENV === 'development' ? '/api' : '/api'
+
 axios.defaults.baseURL = server
 
 // axios.defaults.baseURL = '/api'