Эх сурвалжийг харах

联储观察默认请求有数据的那天

cxmo 1 жил өмнө
parent
commit
5d0e735f31

+ 3 - 2
src/views/toolBox_manage/FederalReserveWatch.vue

@@ -34,15 +34,16 @@ export default {
     },
     methods: {
         getSheetDetail(){
+            let type
             if(!this.selectDate){
-                this.sheetDetailInfo = {}
-                return
+                type='init'
             }
             ToolBoxInterface.getSheetDetail({
                 DateTime: this.selectDate||'',
             }).then(res=>{
                 if(res.Ret!==200) return
                 this.sheetDetailInfo = res.Data||{};
+                type==='init'&&(this.selectDate = this.sheetDetailInfo.DateTime||'')
                 this.$nextTick(()=>{
                     this.sheetDetailInfo.MeetingInfoId&&this.initSheet()
                 })