浏览代码

disable html2pdf

ali 3 年之前
父节点
当前提交
18951b680f
共有 1 个文件被更改,包括 6 次插入 和 6 次删除
  1. 6 6
      src/components/Widgets/Post/PostShow/PostShow.vue

+ 6 - 6
src/components/Widgets/Post/PostShow/PostShow.vue

@@ -87,12 +87,12 @@ import { mixinPrefetchServerData, mixinWidget } from 'src/mixin/Mixins.js'
 import Breadcrumbs from 'src/components/Widgets/Breadcrumbs/Breadcrumbs.vue'
 
 let html2pdf
-if (typeof window !== 'undefined') {
-  import('html2pdf.js')
-    .then((html2pdfLib) => {
-      html2pdf = html2pdfLib.default
-    })
-}
+// if (typeof window !== 'undefined') {
+//   import('html2pdf.js')
+//     .then((html2pdfLib) => {
+//       html2pdf = html2pdfLib.default
+//     })
+// }
 
 export default {
   name: 'ShowClassroomInfo',