vue---解决el-select显示value不显示label的问题

    

产生左图的情况一般是由于下图红框中的参数类型不一致

可修改【dictInfoForm.type】类型与【item.value】一致

 this.dictInfoForm.type = String(this.dictInfoForm.type);    //转换为String类型

 this.dictInfoForm.type = Number(this.dictInfoForm.type);  //转换为Number类型

发布了147 篇原创文章 · 获赞 33 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/maidu_xbd/article/details/103827813