From a609ec7941a7e345e4987883a999aee3d5025d0d Mon Sep 17 00:00:00 2001 From: dataeaseShu <106045316+dataeaseShu@users.noreply.github.com> Date: Tue, 2 Aug 2022 14:46:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B8=85=E9=99=A4=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E7=94=A8=E5=88=B0=E7=9A=84=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/package.json | 2 -- frontend/src/directive/index.js | 8 ++++---- frontend/src/main.js | 2 -- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 7ec9fde18a..cb33ced811 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -51,9 +51,7 @@ "svgo": "1.2.2", "tinymce": "^5.8.2", "umy-ui": "^1.1.6", - "vcolorpicker": "^1.1.0", "vue": "2.6.10", - "vue-axios": "3.2.4", "vue-clipboard2": "0.3.1", "vue-codemirror": "^4.0.6", "vue-friendly-iframe": "^0.20.0", diff --git a/frontend/src/directive/index.js b/frontend/src/directive/index.js index ebe3d87c5d..7077bd0dec 100644 --- a/frontend/src/directive/index.js +++ b/frontend/src/directive/index.js @@ -64,10 +64,10 @@ export const bottom2TopDrag = { } } -const closePress = { - inserted: function(el) { - el.querySelector('.el-drawer__close-btn').onmousedown = function(e) { - e.currentTarget.style.background = '#d2d3d4' +const closePress = { + inserted: function (el) { + el.querySelector('.el-drawer__close-btn').onmousedown = function (e) { + e.currentTarget.style.setProperty('background', '#d2d3d4', 'important'); } el.querySelector('.el-drawer__close-btn').onmouseup = function(e) { e.currentTarget.style.background = 'none' diff --git a/frontend/src/main.js b/frontend/src/main.js index bc30338344..7a8a248651 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -45,8 +45,6 @@ Vue.prototype.$gaodeMap = GaodeMap import UmyUi from 'umy-ui' Vue.use(UmyUi) -import vcolorpicker from 'vcolorpicker' -Vue.use(vcolorpicker) // 全屏插件 import fullscreen from 'vue-fullscreen'