一.报错截图 [Vue warn]: Invalid prop: type check failed for prop "jingzinum". Expected Number with value NaN, got String with value "fuNum". 二.报错代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="U…
vue.esm.js?efeb:628 [Vue warn]: Invalid prop: type check failed for prop "defaultActive". Expected String with value "0", got Number with value 0. 问题解决:active:"0", 0加上双引号即可. <el-menu :default-active="navBar.active&qu…