【vue】---- v-for 与 v-if 在同一标签使用时会报提醒 1、问题:同时使用 v-for 与 v-if,在同一标签使用时会报提醒。 2、解决:在外层添加<template>标签包裹,将v-for在<template>标签中使用。