lilei 3 anos atrás
pai
commit
4a258c8389
2 arquivos alterados com 4 adições e 3 exclusões
  1. 2 2
      App.vue
  2. 2 1
      pages/index/index.vue

+ 2 - 2
App.vue

@@ -1,8 +1,8 @@
 <script>
 <script>
 	export default {
 	export default {
 		globalData: {
 		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/' // 生产
 			// baseUrl: 'https://car.zyucgj.com/saas/clz/' // 生产
 		},
 		},
 		onLaunch: function() {
 		onLaunch: function() {

+ 2 - 1
pages/index/index.vue

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