From 5e17c1c4bbde2d1c620cd4b9aa368bed6da3eab7 Mon Sep 17 00:00:00 2001 From: xiongchengqiang Date: Thu, 17 Dec 2020 16:24:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/elementConfig.js | 4 +- .../components/UseButton/index.vue | 39 +++++++++++-------- 2 files changed, 25 insertions(+), 18 deletions(-) diff --git a/src/utils/elementConfig.js b/src/utils/elementConfig.js index 2ba8660..c6baad8 100644 --- a/src/utils/elementConfig.js +++ b/src/utils/elementConfig.js @@ -39,13 +39,15 @@ import { Avatar, Progress, Drawer, - Slider + Slider, + ButtonGroup } from 'element-ui' Vue.prototype.$loading = Loading Vue.prototype.$message = Message Vue.prototype.$confirm = MessageBox.confirm Vue.prototype.$alert = MessageBox.alert +Vue.use(ButtonGroup) Vue.use(Slider) Vue.use(Drawer) Vue.use(Progress) diff --git a/src/views/kpi/assessment/performance/components/UseButton/index.vue b/src/views/kpi/assessment/performance/components/UseButton/index.vue index 0cd5143..774dace 100644 --- a/src/views/kpi/assessment/performance/components/UseButton/index.vue +++ b/src/views/kpi/assessment/performance/components/UseButton/index.vue @@ -2,11 +2,11 @@