(meta: TPageMeta)
| 112 | } |
| 113 | config.modifyPageImport = function (this: PageParser, importStr: string[], page: TPageMeta | TPageMeta[]) { |
| 114 | function fixPageEntry (meta: TPageMeta) { |
| 115 | Object.assign(config.entryOption, { |
| 116 | routeName: meta.name, |
| 117 | }) |
| 118 | if (isObject(meta.config?.entryOption)) { |
| 119 | Object.assign(config.entryOption, meta.config.entryOption) |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | if (!isPureComp(page)) { |
| 124 | if (page instanceof Array) { |
no test coverage detected