This commit is contained in:
syuilo
2020-09-06 12:30:27 +09:00
parent 256307f1a9
commit e33f2398f5
270 changed files with 1173 additions and 961 deletions

View File

@@ -13,6 +13,7 @@
<script lang="ts">
import { defineComponent } from 'vue';
import * as os from '@/os';
// memo: popup.vueのfixedプロパティに相当するものはsource要素の祖先を辿るなどして自動で判定できるのでは
@@ -54,6 +55,8 @@ export default defineComponent({
},
mounted() {
this.$nextTick(() => {
if (!this.popup) return;
const popover = this.$refs.content as any;
const rect = this.source.getBoundingClientRect();