• 普通写法
v-if=" type==1 || type==2 || type==3 "
  • 优雅写法
v-if=" [1,2,3].includes(type) "
Logo

前往低代码交流专区

更多推荐