From 25f3844265f3c56ab0de2fe0c574ff0f412c4e17 Mon Sep 17 00:00:00 2001 From: "liujw155@outlook.com" Date: Fri, 13 Jan 2023 17:23:34 +0800 Subject: [PATCH] fix site manage --- src/pages/site/manage/manage.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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());