Parcourir la source

加入编辑场景代码

shaogen1995 il y a 3 ans
Parent
commit
ac3557430b
2 fichiers modifiés avec 4 ajouts et 10 suppressions
  1. 3 3
      houtai/src/utils/request.js
  2. 1 7
      houtai/src/views/tab1/index.vue

+ 3 - 3
houtai/src/utils/request.js

@@ -1,8 +1,8 @@
 import axios from 'axios'
 const service = axios.create({
-  baseURL: 'http://192.168.0.135:8017', // 本地调试
-  // baseURL: 'http://192.168.0.245:8005/', // 线上调试
-  // baseURL: '', // build
+  // baseURL: 'http://192.168.0.135:8017', // 本地调试
+  // baseURL: 'http://project.4dage.com:8017', // 线上调试
+  baseURL: '', // build
   timeout: 5000
 })
 // 请求拦截器

+ 1 - 7
houtai/src/views/tab1/index.vue

@@ -43,13 +43,7 @@ export default {
         { name: '-', url: '1185', id: 1, time: '2022-05-20 00:00:00' },
         { name: '-', url: '1186', id: 2, time: '2022-05-20 02:00:00' },
         { name: '-', url: '1187', id: 3, time: '2022-05-20 04:00:00' },
-        { name: '-', url: '1188', id: 4, time: '2022-05-20 06:00:00' },
-        {
-          name: '临洮5000年历史文物展',
-          url: '1189',
-          id: 5,
-          time: '2022-05-20 08:00:00'
-        }
+        { name: '-', url: '1188', id: 4, time: '2022-05-20 06:00:00' }
       ],
       tableData: []
     }