remove(console.log): refs #6684 driverRouteFix
This commit is contained in:
parent
7d4b6132ec
commit
4ba76291c1
|
@ -5,12 +5,11 @@ module.exports = {
|
|||
mixins: [vnReport],
|
||||
async serverPrefetch() {
|
||||
let ids = this.id;
|
||||
console.log(typeof ids);
|
||||
const hasMultipleRoutes = String(this.id).includes(',');
|
||||
if (hasMultipleRoutes)
|
||||
ids = this.id.split(',');
|
||||
|
||||
const routes = await this.rawSqlFromDef('routes', +[ids]);
|
||||
const routes = await this.rawSqlFromDef('routes', [ids]);
|
||||
const tickets = await this.rawSqlFromDef('tickets', [ids, ids]);
|
||||
|
||||
const map = new Map();
|
||||
|
|
Loading…
Reference in New Issue