mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
Fix bug
This commit is contained in:
parent
c73b52ca1f
commit
5a618dfcdd
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,9 @@ export default define({
|
|||
duration: 1000,
|
||||
easing: 'linear',
|
||||
complete: () => {
|
||||
// 既にこのウィジェットがunmountされていたら要素がない
|
||||
if ((this.$refs.slideA as any) == null) return;
|
||||
|
||||
(this.$refs.slideA as any).style.backgroundImage = img;
|
||||
anime({
|
||||
targets: this.$refs.slideB,
|
||||
|
|
Loading…
Reference in a new issue