Merge branch 'master' into permission-control

permission-control
Pan 2019-05-13 12:57:54 +08:00
commit 6d449fe778
2 changed files with 8 additions and 8 deletions

View File

@ -17,12 +17,16 @@ import '@/permission' // permission control
/** /**
* If you don't want to use mock-server * If you don't want to use mock-server
* you want to use mockjs for request interception * you want to use MockJs for mock api
* you can execute: * you can execute: mockXHR()
* *
* import { mockXHR } from '../mock' * Currently MockJs will be used in the production environment,
* mockXHR() * please remove it before going online! ! !
*/ */
import { mockXHR } from '../mock'
if (process.env.NODE_ENV === 'production') {
mockXHR()
}
// set ElementUI lang to EN // set ElementUI lang to EN
Vue.use(ElementUI, { locale }) Vue.use(ElementUI, { locale })

View File

@ -95,10 +95,6 @@
margin-left: 54px; margin-left: 54px;
} }
.svg-icon {
margin-right: 0px;
}
.submenu-title-noDropdown { .submenu-title-noDropdown {
padding: 0 !important; padding: 0 !important;
position: relative; position: relative;