This commit is contained in:
syuilo 2018-03-04 18:14:13 +09:00
parent c73b52ca1f
commit 5a618dfcdd

View file

@ -81,6 +81,9 @@ export default define({
duration: 1000, duration: 1000,
easing: 'linear', easing: 'linear',
complete: () => { complete: () => {
// unmount
if ((this.$refs.slideA as any) == null) return;
(this.$refs.slideA as any).style.backgroundImage = img; (this.$refs.slideA as any).style.backgroundImage = img;
anime({ anime({
targets: this.$refs.slideB, targets: this.$refs.slideB,