mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-01 23:55:58 +09:00
Fix bug
This commit is contained in:
parent
859260ed92
commit
f152e3a2d5
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user