vue2-client 1.8.29 → 1.8.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/package.json +1 -1
- package/src/utils/routerUtil.js +4 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/src/utils/routerUtil.js
CHANGED
|
@@ -346,6 +346,10 @@ function parsefunc (func) {
|
|
|
346
346
|
icon: row.icon,
|
|
347
347
|
name: row.name
|
|
348
348
|
}
|
|
349
|
+
if (row.link.includes('$')) {
|
|
350
|
+
route.router = row.link.split('$')[1]
|
|
351
|
+
route.params = row.link.split('$')[0]
|
|
352
|
+
}
|
|
349
353
|
if (row.children && row.children.length > 0) {
|
|
350
354
|
route.children = parsefunc(row.children)
|
|
351
355
|
}
|