先去检查一下接口返回格式 如果是字符串 不需要加冒号

active-value="1" inactive-value="2"

如果是数字

:active-value="1" :inactive-value="2"

Logo

Vue社区为您提供最前沿的新闻资讯和知识内容

更多推荐