diff --git a/src/renderer/src/components/grid-pic/index.vue b/src/renderer/src/components/grid-pic/index.vue index 8913651..4769a98 100644 --- a/src/renderer/src/components/grid-pic/index.vue +++ b/src/renderer/src/components/grid-pic/index.vue @@ -1,26 +1,35 @@ diff --git a/src/renderer/src/main.js b/src/renderer/src/main.js index ab4962c..a723b75 100644 --- a/src/renderer/src/main.js +++ b/src/renderer/src/main.js @@ -17,8 +17,7 @@ import log from 'electron-log/renderer' // 渲染进程日志-文件记录 import customComponent from '@/components/common' // 自定义组件 import plugins from './plugins' // plugins插件 import useUserStore from '@/store/modules/user' -import VueViewer from 'v-viewer' -import 'viewerjs/dist/viewer.css' + if(process.env.NODE_ENV != 'development') { // 非开发环境,将日志打印到日志文件 Object.assign(console, log.functions) // 渲染进程日志-控制台替换 } @@ -42,7 +41,6 @@ import Directive from '@/AixPPTist/src/plugins/directive' app.use(router) .use(store) - .use(VueViewer) .use(ElementPlus, { locale: zhLocale }) .use(customComponent) // 自定义组件 .use(plugins) diff --git a/src/renderer/src/views/prepare/index.vue b/src/renderer/src/views/prepare/index.vue index ca770aa..b6c80ee 100644 --- a/src/renderer/src/views/prepare/index.vue +++ b/src/renderer/src/views/prepare/index.vue @@ -10,7 +10,7 @@ 新建文枢课件 AI一键生成 - 打开宫格 + 导入PPT