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 | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/main.js b/src/main.js index 5ef5b2f..452adff 100644 --- a/src/main.js +++ b/src/main.js @@ -2,15 +2,22 @@ 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 wow from 'wowjs' +import 'viewerjs/dist/viewer.css' +import VueViewer from 'v-viewer' +Vue.use(VueViewer) + + import 'animate.css' -Vue.prototype.$wow=wow +// import wow from 'wowjs' +// Vue.prototype.$wow=wow import infiniteScroll from 'vue-infinite-scroll' Vue.use(infiniteScroll) @@ -20,7 +27,6 @@ Vue.use(APlayer, { productionTip: false }) -import './mock/' Vue.prototype.$axios = axios -- Gitblit v1.9.1