修复 npm run build 打包正常正常
This commit is contained in:
@@ -125,19 +125,6 @@ if (vconsole !== undefined && vconsole === md5Crmeb) {
|
||||
String.prototype.replaceAll = function(s1, s2) {
|
||||
return this.replace(new RegExp(s1, "gm"), s2);
|
||||
}
|
||||
// Vue.prototype.$modalCoupon = modalCoupon
|
||||
/**
|
||||
* If you don't want to use mock-server
|
||||
* you want to use MockJs for mock api
|
||||
* you can execute: mockXHR()
|
||||
*
|
||||
* Currently MockJs will be used in the production environment,
|
||||
* please remove it before going online ! ! !
|
||||
*/
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
const { mockXHR } = require('../mock')
|
||||
mockXHR()
|
||||
}
|
||||
|
||||
Vue.use(Element, {
|
||||
size: Cookies.get('size') || 'mini' // set element-ui default size
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"domain":"http://localhost:8080"
|
||||
}
|
||||
Reference in New Issue
Block a user