diff --git a/jshERP-web/src/components/layouts/UserLayout.vue b/jshERP-web/src/components/layouts/UserLayout.vue index 572435824..fcdc4e11c 100644 --- a/jshERP-web/src/components/layouts/UserLayout.vue +++ b/jshERP-web/src/components/layouts/UserLayout.vue @@ -93,7 +93,7 @@ }, created () { let host = window.location.host - if(host === 'cloud.gyjerp.com' || host === 'cloud.huaxiaerp.vip' || host === 'cloud.huaxiaerp.com') { + if(host === 'cloud.gyjerp.com') { this.isShowRight = true } else { this.isShowRight = false diff --git a/jshERP-web/src/views/dashboard/IndexChart.vue b/jshERP-web/src/views/dashboard/IndexChart.vue index 2bffad3cb..a47bfa7fc 100644 --- a/jshERP-web/src/views/dashboard/IndexChart.vue +++ b/jshERP-web/src/views/dashboard/IndexChart.vue @@ -219,9 +219,9 @@ }) buyOrSalePrice().then(res=>{ if(res.code === 200){ - this.buyPriceData = res.data.buyPriceList; - this.salePriceData = res.data.salePriceList; - this.retailPriceData = res.data.retailPriceList; + this.buyPriceData = res.data.buyPriceList + this.salePriceData = res.data.salePriceList + this.retailPriceData = res.data.retailPriceList } }) getPlatformConfigByKey({"platformKey": "pay_fee_url"}).then((res)=> { @@ -271,7 +271,7 @@ }, showWeixinSpan() { let host = window.location.host - if(host === 'cloud.gyjerp.com' || host === 'cloud.huaxiaerp.vip' || host === 'cloud.huaxiaerp.com') { + if(host === 'cloud.gyjerp.com') { return true } else { return false