首屏加载
This commit is contained in:
@@ -21,12 +21,14 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
this.getOptions().then(() => {
|
this.getOptions().then(() => {
|
||||||
const {dayjs} = window
|
const {dayjs} = window
|
||||||
this.form = {
|
setTimeout(() => {
|
||||||
compareDate: dayjs().subtract(1, "day").format("YYYYMMDD"),
|
const compareDate = dayjs().subtract(1, "day").format("YYYYMMDD"),
|
||||||
currentDate: dayjs().format("YYYYMMDD"),
|
currentDate = dayjs().format("YYYYMMDD"),
|
||||||
hourNum: new Date().getHours(),
|
hourNum = new Date().getHours(),
|
||||||
groupCodeList: this.options?.[0].value
|
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