桌台跳转报错

This commit is contained in:
duan 2024-11-04 14:11:28 +08:00
parent 13b4a82ce6
commit c9d2e3c80f
1 changed files with 6 additions and 1 deletions

View File

@ -233,7 +233,12 @@ export default {
mounted() {
if (this.$route.query.tableName) {
this.query.tableName = this.$route.query.tableName
this.query.createdAt = this.$route.query.date
console.log(this.$route.query.date,'体哦啊是1111')
if(this.$route.query.date[0]){
this.query.createdAt = this.$route.query.date
}else{
this.query.createdAt = []
}
}
if (this.$route.query.orderNo) {
this.query.orderNo = this.$route.query.orderNo