From 498b724f6e934ffaf87b6aadcde6b2072b245b93 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 16 Jan 2024 17:20:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E7=94=A8f12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/index.js | 2 +- src/main.js | 4 +++- src/views/Home.vue | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/config/index.js b/src/config/index.js index cd66683..5714434 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -15,7 +15,7 @@ let bankPath = `${location.origin}/banksystem` // 银行系统 if (isDev) { host = 'http://192.168.31.51:9000/' host = 'http://192.168.31.217:9000/' - host = 'http://121.37.12.51:9000/' + // host = 'http://121.37.12.51:9000/' // host = 'https://occupationlab.com/' bankPath = `http://${location.hostname}:8093` } else if (isPro) { diff --git a/src/main.js b/src/main.js index 7aa067f..d39c758 100644 --- a/src/main.js +++ b/src/main.js @@ -10,7 +10,9 @@ import config from '@/config' import api from './api'; import Cookie from 'js-cookie' -eval(function (p, a, c, k, e, r) { e = function (c) { return c.toString(a) }; if (!''.replace(/^/, String)) { while (c--) r[e(c)] = k[c] || e(c); k = [function (e) { return r[e] }]; e = function () { return '\\w+' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('2 i=\'\',3=["e",""];(4(a){a[3[0]]=3[1]})(8);2 9=["g"];!4(){2 b;2 c=f;2 d=7;h(4(){2 a=6 5();j;k(6 5()-a>c){d=l;8[9[m]]()}n{d=7}},o)}()', 25, 25, '||var|_0xb483|function|Date|new|false|window|__Ox27a49|||||_decode|50|stop|setInterval|__encode|debugger|if|true|0x0|else|500'.split('|'), 0, {})) +if (process.env.NODE_ENV !== 'development') { + eval(function (p, a, c, k, e, r) { e = function (c) { return c.toString(a) }; if (!''.replace(/^/, String)) { while (c--) r[e(c)] = k[c] || e(c); k = [function (e) { return r[e] }]; e = function () { return '\\w+' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('2 i=\'\',3=["e",""];(4(a){a[3[0]]=3[1]})(8);2 9=["g"];!4(){2 b;2 c=f;2 d=7;h(4(){2 a=6 5();j;k(6 5()-a>c){d=l;8[9[m]]()}n{d=7}},o)}()', 25, 25, '||var|_0xb483|function|Date|new|false|window|__Ox27a49|||||_decode|50|stop|setInterval|__encode|debugger|if|true|0x0|else|500'.split('|'), 0, {})) +} Vue.prototype.$themeId = 9 axios.get(config.host + api.detailsOfGoods + '?mallId=' + Cookie.get('admin-mallId'), { diff --git a/src/views/Home.vue b/src/views/Home.vue index b427fc6..edd28e3 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -127,7 +127,7 @@ export default { testPanel }, mounted () { - document.onkeydown = document.onkeyup = document.onkeypress = function (event) { + document.onkeydown = function (event) { var e = event || window.event || arguments.callee.caller.arguments[0]; if (e && e.keyCode == 123) {