diff --git a/src/pages/site/manage/manage.vue b/src/pages/site/manage/manage.vue index a19af18..b63b154 100644 --- a/src/pages/site/manage/manage.vue +++ b/src/pages/site/manage/manage.vue @@ -199,6 +199,9 @@ export default { async onLoad(){ try { util.showLoad(); + let _dateArr = this.getDateList({}) || []; + this.dateList = _dateArr; + this.curDateInfo = _dateArr[0] || {}; let _storeInfo = await this.getStoreList(); let _storeList = _storeInfo.list || []; if(!_storeList.length)return util.showNone('没有店铺信息!'); @@ -211,10 +214,6 @@ export default { if(!_typeList.length)return util.showNone('没有球类信息!'); let _curType = _typeList[0]; this.curTypeInfo = _curType; - let _dateArr = this.getDateList({}) || []; - this.dateList = _dateArr; - this.curDateInfo = _dateArr[0] || {}; - console.warn(_dateArr,'_dateArr') util.hideLoad(); return this.$nextTick(_=>this.refreshVenues());