From b42e675817e00bff04d917882e9f99201b39817a Mon Sep 17 00:00:00 2001 From: "LAPTOP-R6EHHS26\\86155" <2217640373@qq.com> Date: Fri, 13 Oct 2023 14:34:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=87=AA=E9=80=82=E5=BA=94?= =?UTF-8?q?=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/main.js | 3 +++ src/views/kanban/dailyoutput/index.vue | 34 ++++++++++++++++++++++++-- 3 files changed, 36 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c2af3a1..dfc0012 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,7 @@ "quill": "1.3.7", "screenfull": "5.0.2", "sortablejs": "1.10.2", + "v-scale-screen": "^1.0.2", "vue": "2.6.12", "vue-count-to": "1.0.13", "vue-cropper": "0.5.5", diff --git a/src/main.js b/src/main.js index 7320464..8d8a019 100644 --- a/src/main.js +++ b/src/main.js @@ -41,8 +41,10 @@ import VueMeta from 'vue-meta' import DictData from '@/components/DictData' // 打印插件 import Print from 'print-js' +import VScaleScreen from 'v-scale-screen' // 全局方法挂载 + Vue.prototype.$echarts = echarts Vue.prototype.getDicts = getDicts Vue.prototype.getConfigKey = getConfigKey @@ -63,6 +65,7 @@ Vue.component('FileUpload', FileUpload) Vue.component('ImageUpload', ImageUpload) Vue.component('ImagePreview', ImagePreview) +Vue.use(VScaleScreen) Vue.use(directive) Vue.use(plugins) Vue.use(VueMeta) diff --git a/src/views/kanban/dailyoutput/index.vue b/src/views/kanban/dailyoutput/index.vue index dfe280e..a43d81d 100644 --- a/src/views/kanban/dailyoutput/index.vue +++ b/src/views/kanban/dailyoutput/index.vue @@ -1,4 +1,5 @@