Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
88760635
提交
88760635
编写于
12月 18, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
JDF静态导入
上级
163b1b17
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
3 行增加
和
2 行删除
+3
-2
index.html
index.html
+1
-0
item-list.vue
src/views/learning/item-list.vue
+2
-2
未找到文件。
index.html
浏览文件 @
88760635
...
...
@@ -16,6 +16,7 @@
<div
id=
"app"
>
<router-view></router-view>
</div>
<script
src=
"http://html2canvas.hertzen.com/dist/html2canvas.js"
></script>
<script
src=
"https://unpkg.com/qiniu-js@2.2.0/dist/qiniu.min.js"
></script>
<script
src=
"https://cdn.bootcss.com/downloadjs/1.4.8/download.min.js"
></script>
<script
src=
"https://pv.sohu.com/cityjson?ie=utf-8"
></script>
...
...
src/views/learning/item-list.vue
浏览文件 @
88760635
...
...
@@ -223,7 +223,7 @@ import { openLoading, closeLoading } from "../../utils/utils";
import
*
as
commonUtil
from
"../../utils/utils"
;
import
*
as
operationData
from
"../../utils/operation"
;
import
{
log
}
from
"util"
;
import
html2Canvas
from
'html2canvas'
;
//
import html2Canvas from 'html2canvas';
import
JsPDF
from
'jspdf'
;
let
vm
=
null
;
...
...
@@ -869,7 +869,7 @@ export default {
};
console
.
log
(
'导出参数opts'
,
opts
);
setTimeout
(()
=>
{
html2C
anvas
(
element
,
opts
).
then
(
function
(
canvas
)
{
window
.
html2c
anvas
(
element
,
opts
).
then
(
function
(
canvas
)
{
let
contentWidth
=
canvas
.
width
;
let
contentHeight
=
canvas
.
height
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录