From c6793e5475b607e83cbb55b7d0ddfb9b81bd7774 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Thu, 25 Aug 2022 04:09:06 +0800 Subject: [PATCH] 日志内容详情页多媒体适配 markdown 内图片增加viewer相应 --- src/main.js | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/src/main.js b/src/main.js index 824ba66..452adff 100644 --- a/src/main.js +++ b/src/main.js @@ -2,18 +2,31 @@ import App from './App'; import axios from 'axios' import router from './router/router.js' +import moveDragMoDal from '@/config/moveDragModal.js' +import './mock/' import Antd from 'ant-design-vue/es'; import 'ant-design-vue/dist/antd.less'; Vue.use(Antd); + +import 'viewerjs/dist/viewer.css' +import VueViewer from 'v-viewer' +Vue.use(VueViewer) + + +import 'animate.css' +// import wow from 'wowjs' +// Vue.prototype.$wow=wow import infiniteScroll from 'vue-infinite-scroll' Vue.use(infiniteScroll) import APlayer from '@moefe/vue-aplayer'; -Vue.use(APlayer,{productionTip:false}) +Vue.use(APlayer, { + productionTip: false +}) Vue.prototype.$axios = axios -- Gitblit v1.9.1