mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
feat(Dialog): add a "title" in the title attribute (#9253)
This commit is contained in:
parent
f5e43e9132
commit
b86b38cebe
@ -6,6 +6,7 @@ import type { DialogAction } from '../Dialog';
|
||||
|
||||
const i18n = {
|
||||
'zh-CN': {
|
||||
title: '标题',
|
||||
alert1: '提示弹窗',
|
||||
alert2: '提示弹窗(无标题)',
|
||||
confirm: '确认弹窗',
|
||||
@ -15,6 +16,7 @@ const i18n = {
|
||||
content: '代码是写出来给人看的,附带能在机器上运行',
|
||||
},
|
||||
'en-US': {
|
||||
title: 'Title',
|
||||
alert1: 'Alert',
|
||||
alert2: 'Alert without title',
|
||||
confirm: 'Confirm dialog',
|
||||
|
Loading…
x
Reference in New Issue
Block a user