1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-04-06 03:57:53 +08:00

Merge branch 'i18n' into deploy

This commit is contained in:
花裤衩 2020-01-09 20:25:46 +08:00
commit e75e9a301a

View File

@ -36,9 +36,8 @@ Vue.use(VueAnalytics, {
* please remove it before going online ! ! !
*/
if (process.env.NODE_ENV === 'production') {
import('../mock').then(({ mockXHR }) => {
mockXHR()
})
const { mockXHR } = require('../mock')
mockXHR()
}
Vue.use(Element, {