summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/mock/server.js
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-08-27 13:27:26 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-08-27 13:27:32 +0800
commit27b93428f83342f82c93addd22804f32086b2d92 (patch)
treeb9ec2f397bffe4efb8d852754e3f7344c676d6ed /usecaseui-portal/src/app/mock/server.js
parent5d38fbfc424c6b0a1803175989241a7cfd6ce5ff (diff)
fix: fix the file path and delete console in mock data
Change-Id: I61c200e1e003292387589969065b66de75594854 Issue-ID: USECASEUI-306 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/mock/server.js')
-rw-r--r--usecaseui-portal/src/app/mock/server.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/mock/server.js b/usecaseui-portal/src/app/mock/server.js
index 2b8f5fe0..45773284 100644
--- a/usecaseui-portal/src/app/mock/server.js
+++ b/usecaseui-portal/src/app/mock/server.js
@@ -74,6 +74,8 @@ function serverRewrite(routerpath) {
routerpathArr[`/${newPath}`] = `/${item}`;
})
//start to rewrite routers
+ // console.log(customersRouters, "===customersRouters")
+ // server.use(jsonServer.rewriter(customersRouters))
server.use(jsonServer.rewriter(routerpathArr));
}