summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usecaseui-portal/src/app/app.component.less2
-rw-r--r--usecaseui-portal/src/app/mock/routes.js2
-rw-r--r--usecaseui-portal/src/app/mock/server.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/usecaseui-portal/src/app/app.component.less b/usecaseui-portal/src/app/app.component.less
index ade860b1..4055dc81 100644
--- a/usecaseui-portal/src/app/app.component.less
+++ b/usecaseui-portal/src/app/app.component.less
@@ -28,7 +28,7 @@ nz-layout {
left: 0;
z-index: 100;
height: 100vh;
- background: #313449 url('assets/images/UUIMenuBar.png') no-repeat;
+ background: #313449 url('../assets/images/UUIMenuBar.png') no-repeat;
background-size: 100%;
.siderContent{
width: 100%;
diff --git a/usecaseui-portal/src/app/mock/routes.js b/usecaseui-portal/src/app/mock/routes.js
index aad505f2..269f008c 100644
--- a/usecaseui-portal/src/app/mock/routes.js
+++ b/usecaseui-portal/src/app/mock/routes.js
@@ -1,10 +1,8 @@
// proxy routers setting
module.exports =
{
-
"/api/*": "/$1",
"/*/*": "/$1_$2",
"/*/*/*": "/$1_$2_$3",
"/*/*/*/*": "/$1_$2_$3_$4",
-
}
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));
}