fix(button-group): [button-group] Fixed I18n (#1689)

This commit is contained in:
李天佑 2024-06-26 11:19:45 +08:00 committed by GitHub
parent 22becf4ce7
commit 1074f78548
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

View File

@ -89,6 +89,9 @@ export default {
cancel: 'Cancel',
confirm: 'Confirm'
},
buttonGroup: {
noData: 'No data'
},
buttonMessage: {
cancel: 'Cancel',
confirm: 'Confirm'

View File

@ -92,6 +92,9 @@ export default {
cancel: '取消',
confirm: '确定'
},
buttonGroup: {
noData: '暂无数据'
},
buttonMessage: {
cancel: '取消',
confirm: '确定'

View File

@ -106,7 +106,7 @@
</li>
</ul>
</template>
<span v-else class="tiny-button-group--empty"> 暂无数据 </span>
<span v-else class="tiny-button-group--empty"> {{ t('ui.buttonGroup.noData') }} </span>
</slot>
</div>
</template>