原文:解決Invalid prop: custom validator check failed for prop "index"

使用element ui的菜單,中有一個index的屬性,如果index的值從后端傳入是個int類型的值時,則可能出現這個錯誤。 使用toString 轉成字符串 ...

2020-03-16 14:33 0 4428 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM