用法: router.preload(object|array);
字段名 | 类型 | 必须 |
---|---|---|
obj | object|array | |
obj.url | string | 是 |
obj.style | string | 否 |
obj.script | string | 否 |
预加载
示例:
用法: router.preload(object|array);
字段名 | 类型 | 必须 |
---|---|---|
obj | object|array | |
obj.url | string | 是 |
obj.style | string | 否 |
obj.script | string | 否 |