From e0150ddd109b5ae246271b1400e54b1051156699 Mon Sep 17 00:00:00 2001 From: stivepeim Date: Mon, 21 Feb 2022 14:39:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20npm=20run=20build=20?= =?UTF-8?q?=E6=89=93=E5=8C=85=E6=AD=A3=E5=B8=B8=E6=AD=A3=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/main.js | 13 ------------- domain.json | 3 --- 2 files changed, 16 deletions(-) delete mode 100644 domain.json 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