Commit d2828be0 authored by 刘帅阳's avatar 刘帅阳

修改

parent 1cab81da
......@@ -69,12 +69,12 @@ export default {
this.status = this.page*this.rows >= this.total ?
'nomore' : 'loadmore'
this.unitList = this.vuex_unit
if(this.unitList && this.unitList.length >0) {
if(this.unitList && this.unitList.length >0 && this.unitId === "null") {
this.unitId = this.unitList[0].businessId
}else {
this.unitId = ''
}
this.$u.get('cmspriceclick/getCmsPriceClickByCircleId?page=1&rows=10&unitId='+this.unitId).then(res => {
this.$u.get('cmspriceclick/getCmsPriceClickByCircleId?page='+this.page+'&rows=10&unitId='+this.unitId).then(res => {
if (this.page === 1) {
let list = res.records;
this.hotList = list;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment