uView icon indicating copy to clipboard operation
uView copied to clipboard

table th 指定宽度:h5正常,微信小程序无效(均分)

Open whoooami opened this issue 2 years ago • 0 comments

版本

1.8.8

转载链接

localhost/

重现步骤

<u-table :bg-color="themeObj['--cal-theme-color']" :th-style="{backgroundColor: themeObj['--cal-theme-color']}">
            <u-tr>
                <u-th width="10%">10%</u-th>
                <u-th width="30%">30</u-th>
                <u-th width="30%">30</u-th>
                <u-th width="30%">描述</u-th>
            </u-tr>
            <u-tr>
                <u-td width="10%">10%</u-td>
                <u-td width="30%">30</u-td>
                <u-td width="30%">30</u-td>
                <u-td width="30%">描述</u-td>
            </u-tr>
</u-table>

期望的结果是什么?

希望可以指定每一栏的宽度

实际的结果是什么?

目前在小程序上是均分

whoooami avatar May 29 '23 10:05 whoooami