diff --git a/admin/src/main.js b/admin/src/main.js index 28b9f97d..9c291f3b 100644 --- a/admin/src/main.js +++ b/admin/src/main.js @@ -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 diff --git a/domain.json b/domain.json deleted file mode 100644 index d24c9981..00000000 --- a/domain.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "domain":"http://localhost:8080" -} \ No newline at end of file