Browse Source

fix site manage

feat-230721
刘嘉炜 2 years ago
parent
commit
25f3844265
  1. 7
      src/pages/site/manage/manage.vue

7
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());

Loading…
Cancel
Save