桌台跳转报错
This commit is contained in:
@@ -233,7 +233,12 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
if (this.$route.query.tableName) {
|
if (this.$route.query.tableName) {
|
||||||
this.query.tableName = 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) {
|
if (this.$route.query.orderNo) {
|
||||||
this.query.orderNo = this.$route.query.orderNo
|
this.query.orderNo = this.$route.query.orderNo
|
||||||
|
|||||||
Reference in New Issue
Block a user