首屏加载
This commit is contained in:
		| @@ -21,12 +21,14 @@ export default { | ||||
|   created() { | ||||
|     this.getOptions().then(() => { | ||||
|       const {dayjs} = window | ||||
|       this.form = { | ||||
|         compareDate: dayjs().subtract(1, "day").format("YYYYMMDD"), | ||||
|         currentDate: dayjs().format("YYYYMMDD"), | ||||
|         hourNum: new Date().getHours(), | ||||
|         groupCodeList: this.options?.[0].value | ||||
|       } | ||||
|       setTimeout(() => { | ||||
|         const compareDate = dayjs().subtract(1, "day").format("YYYYMMDD"), | ||||
|             currentDate = dayjs().format("YYYYMMDD"), | ||||
|             hourNum = new Date().getHours(), | ||||
|             groupCodeList = this.options?.[0].value | ||||
|         this.form = {compareDate, currentDate, hourNum, groupCodeList} | ||||
|         this.$set(this.$marketBoard, 'search', {compareDate, currentDate, hourNum, groupCodeList: [groupCodeList]}) | ||||
|       }, 500) | ||||
|     }) | ||||
|   }, | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user