浏览代码

bug 修复

lilei 3 年之前
父节点
当前提交
4a258c8389
共有 2 个文件被更改,包括 4 次插入3 次删除
  1. 2 2
      App.vue
  2. 2 1
      pages/index/index.vue

+ 2 - 2
App.vue

@@ -1,8 +1,8 @@
 <script>
 	export default {
 		globalData: {
-			baseUrl: 'http://192.168.16.156:9110/saas/clz/', // 本地
-			// baseUrl: 'https://md.test.zyucgj.com/saas/clz/', // 预发布
+			// baseUrl: 'http://192.168.16.156:9110/saas/clz/', // 本地
+			baseUrl: 'https://md.test.zyucgj.com/saas/clz/', // 预发布
 			// baseUrl: 'https://car.zyucgj.com/saas/clz/' // 生产
 		},
 		onLaunch: function() {

+ 2 - 1
pages/index/index.vue

@@ -103,6 +103,8 @@
 			this.$store.dispatch('checkLogin',()=>{
 				this.pageInit()
 			})
+			
+			this.getScrollLog()
 		},
 		onLoad() {
 			// 获取数据字典
@@ -132,7 +134,6 @@
 					// 获取扫描记录
 					this.getVinLog()
 				}
-				this.getScrollLog()
 			},
 			//  获取数据字典
 			getListLookUp() {