Commit 0cdbfdbf by sxy

fix: 构建vue router 路径

parent 59779442
...@@ -21,7 +21,7 @@ class AppService extends ServiceBase { ...@@ -21,7 +21,7 @@ class AppService extends ServiceBase {
for (let item of cds) { for (let item of cds) {
let tmpResult = {}; let tmpResult = {};
tmpResult.name = item.code; tmpResult.name = item.code;
tmpResult.path = item.code; tmpResult.path = `/${item.code}`;
tmpResult.component = "replace yours" tmpResult.component = "replace yours"
tmpResult.meta = { tmpResult.meta = {
hideInMenu: false, hideInMenu: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment