@@ -1,8 +1,8 @@
<script>
export default {
globalData: {
- baseUrl: 'http://192.168.16.156:9110/saas/clz/', // 本地
- // baseUrl: 'http://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() {
@@ -104,11 +104,13 @@
this.getLookUpList('PAY_PROCUCT_TYPE', 'vuex_paymentTypeList');
onShow() {
- // 查询是否有数字货架
- this.getStoreShelf()
- // 获取扫描记录
- this.getVinLog()
- this.getScrollLog()
+ if(this.hasLogin){
+ // 查询是否有数字货架
+ this.getStoreShelf()
+ // 获取扫描记录
+ this.getVinLog()
+ this.getScrollLog()
+ }
methods: {
// 获取数据字典