fix(driver-route): refs #6684 manage word overflow with wordBreak #1957
|
@ -5,12 +5,11 @@ module.exports = {
|
||||||
mixins: [vnReport],
|
mixins: [vnReport],
|
||||||
async serverPrefetch() {
|
async serverPrefetch() {
|
||||||
let ids = this.id;
|
let ids = this.id;
|
||||||
console.log(typeof ids);
|
|
||||||
const hasMultipleRoutes = String(this.id).includes(',');
|
const hasMultipleRoutes = String(this.id).includes(',');
|
||||||
if (hasMultipleRoutes)
|
if (hasMultipleRoutes)
|
||||||
ids = this.id.split(',');
|
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 tickets = await this.rawSqlFromDef('tickets', [ids, ids]);
|
||||||
|
|
||||||
const map = new Map();
|
const map = new Map();
|
||||||
|
|
Loading…
Reference in New Issue