This commit is contained in:
syuilo 2018-02-18 12:37:18 +09:00
parent 99b3499364
commit b2c24af69e

View file

@ -32,6 +32,7 @@ export default Vue.extend({
} }
}, },
mounted() { mounted() {
this.$nextTick(() => {
(this.$refs.bg as any).style.pointerEvents = 'auto'; (this.$refs.bg as any).style.pointerEvents = 'auto';
anime({ anime({
targets: this.$refs.bg, targets: this.$refs.bg,
@ -47,6 +48,7 @@ export default Vue.extend({
duration: 300, duration: 300,
easing: [0, 0.5, 0.5, 1] easing: [0, 0.5, 0.5, 1]
}); });
});
}, },
methods: { methods: {
click(button) { click(button) {