1、检查el-row有没有被div包裹起来 View Code 2、实例化vue对象,并将div的id赋值给el 让vue进行渲染 <script type="text/javascript">newVue({ el:"#app"})</script> 3、检查element的js及css引入 4、检查vue的js文件引入
<el-row v-for="(item, index) in list " :key="index" class="table-col"> <el-col v-for="( item2, index2 ) in item " :key="index2" :span="24 / item.length" class="table-item"> <span :class="[item2.title === 'Result' ? activeCls : '',item2.title==='SN'?'green...