未验证 提交 0431d40d 编写于 作者: B BingBlog 提交者: GitHub

frontend fix fitscreen, download (#149)

上级 1ec54d8d
......@@ -46,6 +46,19 @@ export default {
attached() {
autoAdjustHeight();
},
handleFitScreen() {
this.data.set('filtScreen', {
filtScreen: true
});
this.data.set('config.scale', 0.5);
},
handleDownload() {
this.data.set('download', {
filtScreen: true
});
}
};
......
......@@ -106,16 +106,6 @@ export default {
// enable inertial throwing
inertia: true,
autoScroll: true,
restrict: {
restriction: 'parent',
endOnly: true,
elementRect: {
top: 0,
left: 0,
bottom: 1,
right: 1
}
},
// call this function on every dragmove event
onmove(event) {
dragMovelHandler(event, (target, x, y) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册