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

bug fixes

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