An ion-slide
error was reported during use , Uncaught TypeError: Cannot read property 'hasAttribute' of undefined
and it was found after inspection that it was caused by the fact that the array data had no value.
Solution:
1. Assign a dead value to the array data.
2. Judge the length of the array data, and then hide or display ion-slide
.
ionic3_ion-slide报错Uncaught TypeError: Cannot read property 'hasAttribute' of undefined
Guess you like
Origin blog.csdn.net/FlyingKuiKui/article/details/83061465
Ranking