|
[BUG]
avm的富文本组件rich-text设置样式 text-align:justify不起作用
[复制链接]
本帖最后由 BIP336772 于 2023-2-2 16:52 编辑
- <template>
- <view class="page">
- <rich-text :nodes="articleContent"></rich-text>
- </view>
- </template>
- <script>
- export default {
- name: 'bug',
- apiready(){//like created
- },
- data() {
- return{
- articleContent: '<p style="text-align:justify;">测试测试测试测试测试测试测试测试测试测试测试测试测试测试</p>'
- }
- },
- methods: {
- }
- }
- </script>
- <style>
- .page {
- height: 100%;
- }
- </style>
复制代码
|
|