Глобальные переменные, поиск элементов в дом-дереве каждый раз заново, плюс регулярка в теле функции. К тому же сетИнтервал не гарантирует выполнение коллбэка чётко через заданный промежуток времени, что может привести к скачкообразной анимации
Может кто сталкивался с этим Такая ошибка —- vue.runtime.esm.js?2b0e:619 [Vue warn]: Property or method "name" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties. —-
Может кто сталкивался с этим Такая ошибка —- vue.runtime.esm.js?2b0e:619 [Vue warn]: Property or method "name" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties. —-