提交 6bca0ae2 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 c2bd58e3
......@@ -23,7 +23,7 @@
:append-to-body="true"
:close-on-click-modal="false"
:close-on-press-escape="false"
@close="handleClose"
@closed="handleClose"
>
<div class="sign">
<p>
......@@ -119,14 +119,16 @@ export default {
}, 5000)
},
clearTimer() {
this.timer && this.clearTimer(this.timer)
this.timer && clearInterval(this.timer)
},
handlePrimary() {
this.setTimer()
this.newWindowPreview(this.sign.shortUrl)
},
handleClose() {
window.location.href = webConf.others.loginUrl
if (!this.documentUrl) {
window.location.href = webConf.others.loginUrl
}
},
// 新窗口预览
newWindowPreview(url) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论