This commit is contained in:
syuilo
2020-09-20 21:29:22 +09:00
parent dd1b6b21e1
commit ea37ff3b61
15 changed files with 68 additions and 37 deletions

View File

@@ -1,6 +1,8 @@
<template>
<div class="fgmtyycl _panel _shadow" :style="{ top: top + 'px', left: left + 'px' }">
<mk-url-preview :url="url"/>
<transition name="zoom" @after-leave="$emit('closed')">
<mk-url-preview :url="url" v-if="showing"/>
</transition>
</div>
</template>
@@ -21,7 +23,11 @@ export default defineComponent({
},
source: {
required: true
}
},
showing: {
type: Boolean,
required: true
},
},
data() {