安身之地
安身之地
  • 发布:2023-06-02 09:33
  • 更新:2023-07-04 15:23
  • 阅读:459

【报Bug】rich-text在ios手机上循环渲染时文字会随机出现白色背景取消不掉

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win10

HBuilderX类型: 正式

HBuilderX版本号: 3.6.18

手机系统: iOS

手机系统版本号: iOS 16

手机厂商: 苹果

手机机型: iPhone XS Max 64GB 金色

页面类型: nvue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

示例代码:
<template>  
    <view class="">  
        <view class="" style="background-color:aqua">  
            <rich-text :nodes="nodes" style="background: transparent;" v-for="item in 100"></rich-text>  
        </view>  
    </view>  
</template>  

<script>  
    export default {  
        data() {  
            return {  
                nodes: [{  
                    "name": "div",  
                    "attrs": {  
                        "style": "position: relative;"  
                    },  
                    "children": [{  
                            "type": "text",  
                            "text": "\n\t\t\t\t\t\t"  
                        },  
                        {  
                            "name": "span",  
                            "attrs": {  
                                "style": "fontSize:23.07rpx;color:#00baad;margin-left:6rpx;"  
                            },  
                            "children": [{  
                                "type": "text",  
                                "text": "     淺薄的回憶:"  
                            }]  
                        },  
                        {  
                            "type": "text",  
                            "text": "\n\t\t\t\t\t\t"  
                        },  
                        {  
                            "name": "span",  
                            "attrs": {  
                                "style": "fontSize:23.07rpx;color:#00baad;background-color:red;"  
                            },  
                            "children": [{  
                                "type": "text",  
                                "text": "非常划算,性价比很高。"  
                            }]  
                        },  
                        {  
                            "type": "text",  
                            "text": "\n\t\t\t\t\t\t"  
                        }  
                    ]  
                }]  
            }  
        },  
        methods: {  

        },  
    }  
</script>  

<style>  

</style>

操作步骤:

rich-text在ios手机上循环渲染时文字会随机出现白色背景取消不掉

预期结果:

rich-text在ios手机上循环渲染时文字会不出现白色背景

实际结果:

rich-text在ios手机上循环渲染时文字会随机出现白色背景取消不掉

bug描述:

rich-text在ios手机上循环渲染时文字会随机出现白色背景取消不掉

2023-06-02 09:33 负责人:DCloud_iOS_XHY 分享
已邀请:

最佳回复

DCloud

DCloud

HBuilderX 3.8.7.20230703 已修复。

安身之地

安身之地 (作者)

有没有大佬能看下这个问题啊?

DCloud_iOS_XHY

DCloud_iOS_XHY

问题已确认,下个版本会修复此问题

要回复问题请先登录注册