前一篇中用到了this 在vue3中不行
改了一种方法
<template>
<div style="display: flex;justify-content: space-between;">
<div class="ball" v-for="(item,index) in show.list" :key="index">
<span style="font-size: 5vh;line-height: 5.5vh;font-weight: bold;" :key="index">{
{
item }}</span>
</div>
</div>

最低0.47元/天 解锁文章
901

被折叠的 条评论
为什么被折叠?



