fui-preview

This commit is contained in:
Hefeng
2023-08-24 13:18:52 +08:00
parent 53698979cd
commit 6d441215a0

View File

@ -163,6 +163,7 @@ export default {
buttons: 'buttons',
text: 'text',
color: 'color',
icon:'icon',
}
},
watch: {
@ -307,7 +308,7 @@ export default {
:style="{ fontSize: `${btnSize}rpx`, color: btn[color] || '#465CFF' }"
:class="{ 'fui-preview__link': !btn[color] }"
>
{{ btn[text] }}
{{ btn[text] }}
</text>
</view>
</view>