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 @@