In vue, the li, that I v-for loops out. Why do I add extra hiding to ui? invalid. The button is inside element.

<ul>
    <li v-for="(item,key) in shebeide">
        <span class="span_three" :title="item.deviceName">{{item.deviceName}}</span>
        <el-button type="primary" @click="tianjianshei(item,key)"></el-button>
    </li>
</ul>

shebeide contains my data

my style

ul{
    height: 250px;
    overflow: hidden;
    overflow: scroll;
    overflow-x: hidden;
    z-index: 1;
    width: 100%;
}

but the final page effect is

so I wrote a button myself, and that"s it.
clipboard.png

clipboard.png

I would like to ask whether this extra hidden type needs special treatment? There are a lot of similar things behind me. Can"t you change them all? Plus! important is not easy to use either

Mar.01,2021

you

ul{
    height: 250px;
    overflow: hidden;
    overflow: scroll;
    overflow-x: hidden;
    z-index: 1;
    width: 100%;
}

this

    overflow: hidden;
    overflow: scroll;
    overflow-x: hidden;

is it clear that the y direction is out of the scroll? Also, one of the pictures didn't come out.


clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3327a-2be77.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3327a-2be77.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?