The property width is not rendered after table rendering

problem description

I defined a fixed width for it, but the width did not take effect after rendering. What is the reason for this? I think it should be the problem caused by v-if rendering

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

<tr class="ivu-table-small">
        <th width="130px"></th>
        <th width="120px"></th>
        <th width="150px"></th>
        <th width="120px"></th>
        <th width="150px"></th>
        <th ></th>
        <th></th>
        <th></th>
        <th  width="300px" v-if="hide"></th>
        <th  width="80px" v-if="hide"></th>
        <th  width="80px" v-if="hide"></th>
        <th  width="80px" v-if="hide"></th>
        <th  width="80px" v-if="hide"></th>
        <th  width="100px" v-if="hide"></th>
    </tr>

what result do you expect? What is the error message actually seen?

I want the style to be reasonable and to look beautiful. The last few fields are hidden before I click the trial button to render the displayed

.
Sep.09,2021

try replacing v-if with v-show

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-1e45192-44af7.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-1e45192-44af7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?