This commit is contained in:
syuilo 2018-08-17 19:35:05 +09:00
parent 9776d8e06b
commit 8d3f71d490

View file

@ -44,12 +44,12 @@ import Vue from 'vue';
import * as anime from 'animejs'; import * as anime from 'animejs';
export default Vue.extend({ export default Vue.extend({
props: ['source', 'compact'],
data() { data() {
return { return {
v: this.$store.state.device.visibility v: this.$store.state.device.visibility || 'public'
} }
}, },
props: ['source', 'compact'],
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
const popover = this.$refs.popover as any; const popover = this.$refs.popover as any;