taro icon indicating copy to clipboard operation
taro copied to clipboard

小程序中scroll-view嵌套nut-table下边框不显示,H5正常

Open chengzichen opened this issue 2 years ago • 2 comments

相关平台

微信小程序

小程序基础库: 2.25.1 使用框架: Vue 3

复现步骤

<scroll-view :scroll-x="true">
  <nut-table
    :columns="state.columns"
    :data="state.data"
    :bordered="true"
  ></nut-table>
</scroll-view>

期望结果

正常显示nut-table下边框

实际结果

小程序中scroll-view嵌套nut-table下边框不显示

环境信息

👽 Taro v3.5.1


  Taro CLI 3.5.1 environment info:
    System:
      OS: macOS 11.6.6
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 16.14.1 - /usr/local/bin/node
      Yarn: 1.22.19 - /usr/local/bin/yarn
      npm: 8.5.0 - /usr/local/bin/npm
    npmPackages:
      @tarojs/cli: ^3.5.1 => 3.5.1 
      @tarojs/components: ^3.5.1 => 3.5.1 
      @tarojs/helper: ^3.5.1 => 3.5.1 
      @tarojs/plugin-html: ^3.5.1 => 3.5.1 
      @tarojs/plugin-platform-alipay: ^3.5.1 => 3.5.1 
      @tarojs/plugin-platform-jd: ^3.5.1 => 3.5.1 
      @tarojs/plugin-platform-qq: ^3.5.1 => 3.5.1 
      @tarojs/plugin-platform-swan: ^3.5.1 => 3.5.1 
      @tarojs/plugin-platform-tt: ^3.5.1 => 3.5.1 
      @tarojs/plugin-platform-weapp: ^3.5.1 => 3.5.1 
      @tarojs/router: ^3.5.1 => 3.5.1 
      @tarojs/runtime: ^3.5.1 => 3.5.1 
      @tarojs/shared: ^3.5.1 => 3.5.1 
      @tarojs/taro: 3.5.1 => 3.5.1 
      @tarojs/taro-h5: ^3.5.1 => 3.5.1 
      babel-preset-taro: 3.4.0 => 3.4.0 
      eslint-config-taro: 3.4.0 => 3.4.0 


补充信息

<scroll-view :scroll-x="true">
  <nut-table
    :columns="state.columns"
    :data="state.data"
    :bordered="true"
    style="padding-bottom: 1px"
  ></nut-table>
</scroll-view>

设置padding-bottom: 1px之后显示正常

chengzichen avatar Aug 03 '22 03:08 chengzichen

@richard1015

Chen-jj avatar Aug 09 '22 13:08 Chen-jj

https://github.com/jdf2e/nutui/issues/1544 。NutUI已收到,感谢反馈~

szg2008 avatar Aug 10 '22 01:08 szg2008