[release]4.1.0 (#211)
This commit is contained in:
14
src/main.js
14
src/main.js
@@ -16,15 +16,15 @@ import '@/icons' // icon
|
||||
import '@/permission' // permission control
|
||||
|
||||
/**
|
||||
* This project originally used easy-mock to simulate data,
|
||||
* but its official service is very unstable,
|
||||
* and you can build your own service if you need it.
|
||||
* So here I use Mock.js for local emulation,
|
||||
* it will intercept your request, so you won't see the request in the network.
|
||||
* If you remove `../mock` it will automatically request easy-mock data.
|
||||
* If you don't want to use mock-server
|
||||
* you want to use mockjs for request interception
|
||||
* you can execute:
|
||||
*
|
||||
* import { mockXHR } from '../mock'
|
||||
* mockXHR()
|
||||
*/
|
||||
import '../mock' // simulation data
|
||||
|
||||
// set ElementUI lang to EN
|
||||
Vue.use(ElementUI, { locale })
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
Reference in New Issue
Block a user