提交 79c574e5 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

更新 richt-text 示例

(cherry picked from commit 3c8c63df)
上级 fa1c89eb
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<view class="uni-title"> <view class="uni-title">
<text class="uni-subtitle-text">selectable</text> <text class="uni-subtitle-text">selectable</text>
</view> </view>
<view class="text-box" @click="testClick"> <view class="text-box">
<rich-text :selectable="true" <rich-text :selectable="true"
nodes="<span>hello uni-app x!</span><br/><span>uni-app x,终极跨平台方案</span>"></rich-text> nodes="<span>hello uni-app x!</span><br/><span>uni-app x,终极跨平台方案</span>"></rich-text>
</view> </view>
...@@ -24,14 +24,6 @@ ...@@ -24,14 +24,6 @@
</template> </template>
<script> <script>
export default {
methods: {
testClick() {
// 测试点击rich-text是否正常触发父节点点击事件
console.log('testClick')
}
},
}
</script> </script>
<style> <style>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册