Commit 9a0b9fb
refactor(addRoute): create route only when parent.alias exists (#3569)
* fix(addRoute): create routing only when parent.alias exists
* refactor(addRoute): create route only when parent.alias is not an empty array
if parent.alias is an empty array, there is no need to execute createRouteMap
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
Co-authored-by: wangqiang025 <wangqiang025@ke.com>
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>1 parent 68ad650 commit 9a0b9fb
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments