This commit is contained in:
syuilo
2020-09-21 14:02:13 +09:00
parent 8762387935
commit 2839c1df0d
3 changed files with 25 additions and 34 deletions

View File

@@ -76,7 +76,9 @@ export default defineComponent({
source: this.$el
});
this.close = promise.cancel;
this.close = () => {
promise.cancel();
};
this.checkTimer = setInterval(() => {
if (!document.body.contains(this.$el)) this.closePreview();