1👍
The issue is your condition:
item => item.element != 'loader' || item.element != 'button'
That condition will always evaluate to true, because every possible element
will be unequal to either loader
or button
. My guess is you want: !(item.element === 'loader' || item.element === 'button')
.
- [Vuejs]-Error in rendering in VueJS and Laravel mix
- [Vuejs]-Render custom header in element-ui to show bootstrap tooltip?
Source:stackexchange.com