chore: add test server

This commit is contained in:
Vben
2021-03-19 22:53:12 +08:00
parent 23568b31fd
commit f866e46535
16 changed files with 1713 additions and 1594 deletions

View File

@@ -155,7 +155,7 @@
&-vertical &-submenu-title {
position: relative;
z-index: 1;
padding: 12px 24px;
padding: 14px 24px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;

View File

@@ -116,7 +116,9 @@ class Permission extends VuexModule {
// !Simulate to obtain permission codes from the background,
// this function may only need to be executed once, and the actual project can be put at the right time by itself
this.changePermissionCode('1');
try {
this.changePermissionCode('1');
} catch (error) {}
if (!paramId) {
throw new Error('paramId is undefined!');
}