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 | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main.js b/src/main.js index 910859d..452adff 100644 --- a/src/main.js +++ b/src/main.js @@ -2,11 +2,18 @@ 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' @@ -20,7 +27,6 @@ Vue.use(APlayer, { productionTip: false }) -import './mock/' Vue.prototype.$axios = axios -- Gitblit v1.9.1