From de5ae7c2cc1d52a4510ae829f18b1d22de6922d7 Mon Sep 17 00:00:00 2001 From: dufu1991 Date: Wed, 25 Dec 2024 10:24:29 +0800 Subject: [PATCH] feat(site):Optimize the typography of CJK characters, mix Chinese and English punctuation, and avoid excessive use of spaces for all Chinese text and comments within the site. --- .../pc/app/action-menu/basic-usage-composition-api.vue | 2 +- .../sites/demos/pc/app/action-menu/basic-usage.vue | 2 +- .../pc/app/action-menu/card-mode-composition-api.vue | 2 +- examples/sites/demos/pc/app/action-menu/card-mode.vue | 2 +- .../pc/app/action-menu/disabled-composition-api.vue | 4 ++-- examples/sites/demos/pc/app/action-menu/disabled.vue | 4 ++-- .../pc/app/action-menu/events-composition-api.vue | 4 ++-- examples/sites/demos/pc/app/action-menu/events.spec.ts | 4 ++-- examples/sites/demos/pc/app/action-menu/events.vue | 4 ++-- .../demos/pc/app/action-menu/icon-composition-api.vue | 8 ++++---- examples/sites/demos/pc/app/action-menu/icon.vue | 8 ++++---- .../app/action-menu/max-show-num-composition-api.vue | 2 +- .../sites/demos/pc/app/action-menu/max-show-num.vue | 2 +- .../pc/app/action-menu/more-text-composition-api.vue | 2 +- examples/sites/demos/pc/app/action-menu/more-text.vue | 2 +- .../app/action-menu/popper-class-composition-api.vue | 2 +- .../sites/demos/pc/app/action-menu/popper-class.vue | 2 +- .../pc/app/action-menu/slot-item-composition-api.vue | 2 +- examples/sites/demos/pc/app/action-menu/slot-item.vue | 2 +- .../pc/app/action-menu/spacing-composition-api.vue | 2 +- examples/sites/demos/pc/app/action-menu/spacing.vue | 2 +- .../pc/app/action-menu/text-field-composition-api.vue | 2 +- examples/sites/demos/pc/app/action-menu/text-field.vue | 2 +- .../demos/pc/app/action-menu/webdoc/action-menu.js | 8 ++++---- examples/sites/demos/pc/app/alert/custom-close.spec.ts | 2 +- examples/sites/demos/pc/app/alert/slot-default.spec.ts | 2 +- examples/sites/demos/pc/app/alert/title.spec.ts | 2 +- examples/sites/demos/pc/app/alert/webdoc/alert.js | 10 +++++----- 28 files changed, 46 insertions(+), 46 deletions(-) diff --git a/examples/sites/demos/pc/app/action-menu/basic-usage-composition-api.vue b/examples/sites/demos/pc/app/action-menu/basic-usage-composition-api.vue index f2a7db2ce6..989d930b78 100644 --- a/examples/sites/demos/pc/app/action-menu/basic-usage-composition-api.vue +++ b/examples/sites/demos/pc/app/action-menu/basic-usage-composition-api.vue @@ -22,7 +22,7 @@ const options = ref([ }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }] + children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }] } ]) diff --git a/examples/sites/demos/pc/app/action-menu/basic-usage.vue b/examples/sites/demos/pc/app/action-menu/basic-usage.vue index 3345c87b27..4e6f7f3891 100644 --- a/examples/sites/demos/pc/app/action-menu/basic-usage.vue +++ b/examples/sites/demos/pc/app/action-menu/basic-usage.vue @@ -27,7 +27,7 @@ export default { }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }] + children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }] } ] } diff --git a/examples/sites/demos/pc/app/action-menu/card-mode-composition-api.vue b/examples/sites/demos/pc/app/action-menu/card-mode-composition-api.vue index 2936ac4c64..8eaf9690a2 100644 --- a/examples/sites/demos/pc/app/action-menu/card-mode-composition-api.vue +++ b/examples/sites/demos/pc/app/action-menu/card-mode-composition-api.vue @@ -25,7 +25,7 @@ const options = ref([ }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }] + children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }] } ]) diff --git a/examples/sites/demos/pc/app/action-menu/card-mode.vue b/examples/sites/demos/pc/app/action-menu/card-mode.vue index 1df2509bb2..034aed8769 100644 --- a/examples/sites/demos/pc/app/action-menu/card-mode.vue +++ b/examples/sites/demos/pc/app/action-menu/card-mode.vue @@ -30,7 +30,7 @@ export default { }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }] + children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }] } ] } diff --git a/examples/sites/demos/pc/app/action-menu/disabled-composition-api.vue b/examples/sites/demos/pc/app/action-menu/disabled-composition-api.vue index 9c083dbfbd..9c80b83f08 100644 --- a/examples/sites/demos/pc/app/action-menu/disabled-composition-api.vue +++ b/examples/sites/demos/pc/app/action-menu/disabled-composition-api.vue @@ -31,7 +31,7 @@ const options = ref([ label: '网络设置', children: [ { label: '更改安全组', disabled: true }, - { label: '切换VPC', divided: true } + { label: '切换 VPC', divided: true } ] } ]) @@ -55,7 +55,7 @@ const options1 = ref([ }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }] + children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }] } ]) diff --git a/examples/sites/demos/pc/app/action-menu/disabled.vue b/examples/sites/demos/pc/app/action-menu/disabled.vue index d512cf167e..d4f7d1e2d9 100644 --- a/examples/sites/demos/pc/app/action-menu/disabled.vue +++ b/examples/sites/demos/pc/app/action-menu/disabled.vue @@ -37,7 +37,7 @@ export default { label: '网络设置', children: [ { label: '更改安全组', disabled: true }, - { label: '切换VPC', divided: true } + { label: '切换 VPC', divided: true } ] } ], @@ -60,7 +60,7 @@ export default { }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }] + children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }] } ] } diff --git a/examples/sites/demos/pc/app/action-menu/events-composition-api.vue b/examples/sites/demos/pc/app/action-menu/events-composition-api.vue index 1144733bc5..9a6e48a196 100644 --- a/examples/sites/demos/pc/app/action-menu/events-composition-api.vue +++ b/examples/sites/demos/pc/app/action-menu/events-composition-api.vue @@ -28,7 +28,7 @@ const options = ref([ }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }] + children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }] } ]) @@ -42,7 +42,7 @@ const itemClick = (data) => { const visibleChange = (status) => { TinyNotify({ - message: `触发 visible-change 事件,下拉状态为 ${status}`, + message: `触发 visible-change 事件,下拉状态为 ${status}`, position: 'top-right', duration: 2000 }) diff --git a/examples/sites/demos/pc/app/action-menu/events.spec.ts b/examples/sites/demos/pc/app/action-menu/events.spec.ts index 2358c4e09b..61165a7e8c 100644 --- a/examples/sites/demos/pc/app/action-menu/events.spec.ts +++ b/examples/sites/demos/pc/app/action-menu/events.spec.ts @@ -19,11 +19,11 @@ test('菜单项点击事件', async ({ page }) => { // more-click 更多按钮点击事件 await expect(notify.filter({ hasText: '触发 moreClick 事件' })).toBeVisible() // visible-change 下拉面板显示隐藏事件 - await expect(notify.filter({ hasText: '触发 visible-change 事件,下拉状态为 true' })).toBeVisible() + await expect(notify.filter({ hasText: '触发 visible-change 事件,下拉状态为 true' })).toBeVisible() // item-click 菜单项点击事件 await dropDownMenuItem.filter({ hasText: '关机' }).click() await expect(notify.filter({ hasText: '{"label":"关机"}' })).toBeVisible() // visible-change 下拉面板显示隐藏事件 - await expect(notify.filter({ hasText: '触发 visible-change 事件,下拉状态为 false' })).toBeVisible() + await expect(notify.filter({ hasText: '触发 visible-change 事件,下拉状态为 false' })).toBeVisible() await expect(dropDownMenu).not.toBeVisible() }) diff --git a/examples/sites/demos/pc/app/action-menu/events.vue b/examples/sites/demos/pc/app/action-menu/events.vue index 22125b6e07..258add5b73 100644 --- a/examples/sites/demos/pc/app/action-menu/events.vue +++ b/examples/sites/demos/pc/app/action-menu/events.vue @@ -33,7 +33,7 @@ export default { }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }] + children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }] } ] } @@ -49,7 +49,7 @@ export default { }, visibleChange(status) { TinyNotify({ - message: `触发 visible-change 事件,下拉状态为 ${status}`, + message: `触发 visible-change 事件,下拉状态为 ${status}`, position: 'top-right', duration: 2000 }) diff --git a/examples/sites/demos/pc/app/action-menu/icon-composition-api.vue b/examples/sites/demos/pc/app/action-menu/icon-composition-api.vue index 21521c4154..c5aebdaaa4 100644 --- a/examples/sites/demos/pc/app/action-menu/icon-composition-api.vue +++ b/examples/sites/demos/pc/app/action-menu/icon-composition-api.vue @@ -1,6 +1,6 @@ @@ -39,7 +39,7 @@ const options = ref([ }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC' }] + children: [{ label: '更改安全组' }, { label: '切换 VPC' }] } ]) @@ -58,7 +58,7 @@ const options1 = ref([ }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }] + children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }] } ]) diff --git a/examples/sites/demos/pc/app/action-menu/icon.vue b/examples/sites/demos/pc/app/action-menu/icon.vue index 5a45236ec5..383f913eb3 100644 --- a/examples/sites/demos/pc/app/action-menu/icon.vue +++ b/examples/sites/demos/pc/app/action-menu/icon.vue @@ -1,6 +1,6 @@ @@ -43,7 +43,7 @@ export default { }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC' }] + children: [{ label: '更改安全组' }, { label: '切换 VPC' }] } ], options1: [ @@ -61,7 +61,7 @@ export default { }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }] + children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }] } ], tinyIconEllipsis: iconEllipsis() diff --git a/examples/sites/demos/pc/app/action-menu/max-show-num-composition-api.vue b/examples/sites/demos/pc/app/action-menu/max-show-num-composition-api.vue index d150dd9661..b8c5b95f45 100644 --- a/examples/sites/demos/pc/app/action-menu/max-show-num-composition-api.vue +++ b/examples/sites/demos/pc/app/action-menu/max-show-num-composition-api.vue @@ -21,7 +21,7 @@ const options = ref([ }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }] + children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }] } ]) diff --git a/examples/sites/demos/pc/app/action-menu/max-show-num.vue b/examples/sites/demos/pc/app/action-menu/max-show-num.vue index 89e4f3f045..13c602c85d 100644 --- a/examples/sites/demos/pc/app/action-menu/max-show-num.vue +++ b/examples/sites/demos/pc/app/action-menu/max-show-num.vue @@ -26,7 +26,7 @@ export default { }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }] + children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }] } ] } diff --git a/examples/sites/demos/pc/app/action-menu/more-text-composition-api.vue b/examples/sites/demos/pc/app/action-menu/more-text-composition-api.vue index fbf2e3f8dc..03b2ea232b 100644 --- a/examples/sites/demos/pc/app/action-menu/more-text-composition-api.vue +++ b/examples/sites/demos/pc/app/action-menu/more-text-composition-api.vue @@ -21,7 +21,7 @@ const options = ref([ }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }] + children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }] } ]) diff --git a/examples/sites/demos/pc/app/action-menu/more-text.vue b/examples/sites/demos/pc/app/action-menu/more-text.vue index bcea87c138..dc10e23d29 100644 --- a/examples/sites/demos/pc/app/action-menu/more-text.vue +++ b/examples/sites/demos/pc/app/action-menu/more-text.vue @@ -26,7 +26,7 @@ export default { }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }] + children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }] } ] } diff --git a/examples/sites/demos/pc/app/action-menu/popper-class-composition-api.vue b/examples/sites/demos/pc/app/action-menu/popper-class-composition-api.vue index 21d638886a..0d16d7db85 100644 --- a/examples/sites/demos/pc/app/action-menu/popper-class-composition-api.vue +++ b/examples/sites/demos/pc/app/action-menu/popper-class-composition-api.vue @@ -23,7 +23,7 @@ const options = ref([ label: '网络设置', children: [ { label: '更改安全组', children: [{ label: '断开' }] }, - { label: '切换VPC', divided: true } + { label: '切换 VPC', divided: true } ] } ]) diff --git a/examples/sites/demos/pc/app/action-menu/popper-class.vue b/examples/sites/demos/pc/app/action-menu/popper-class.vue index b3f4606902..8875ade9d0 100644 --- a/examples/sites/demos/pc/app/action-menu/popper-class.vue +++ b/examples/sites/demos/pc/app/action-menu/popper-class.vue @@ -28,7 +28,7 @@ export default { label: '网络设置', children: [ { label: '更改安全组', children: [{ label: '断开' }] }, - { label: '切换VPC', divided: true } + { label: '切换 VPC', divided: true } ] } ] diff --git a/examples/sites/demos/pc/app/action-menu/slot-item-composition-api.vue b/examples/sites/demos/pc/app/action-menu/slot-item-composition-api.vue index dfff2912bb..9426fd9078 100644 --- a/examples/sites/demos/pc/app/action-menu/slot-item-composition-api.vue +++ b/examples/sites/demos/pc/app/action-menu/slot-item-composition-api.vue @@ -27,7 +27,7 @@ const options = ref([ }, { name: '网络设置', - children: [{ name: '更改安全组' }, { name: '切换VPC', divided: true }] + children: [{ name: '更改安全组' }, { name: '切换 VPC', divided: true }] } ]) diff --git a/examples/sites/demos/pc/app/action-menu/slot-item.vue b/examples/sites/demos/pc/app/action-menu/slot-item.vue index 73c8c36a1d..4ebdf2076e 100644 --- a/examples/sites/demos/pc/app/action-menu/slot-item.vue +++ b/examples/sites/demos/pc/app/action-menu/slot-item.vue @@ -33,7 +33,7 @@ export default { }, { name: '网络设置', - children: [{ name: '更改安全组' }, { name: '切换VPC', divided: true }] + children: [{ name: '更改安全组' }, { name: '切换 VPC', divided: true }] } ] } diff --git a/examples/sites/demos/pc/app/action-menu/spacing-composition-api.vue b/examples/sites/demos/pc/app/action-menu/spacing-composition-api.vue index 281139650a..b7121841ef 100644 --- a/examples/sites/demos/pc/app/action-menu/spacing-composition-api.vue +++ b/examples/sites/demos/pc/app/action-menu/spacing-composition-api.vue @@ -25,7 +25,7 @@ const options = ref([ }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }] + children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }] } ]) diff --git a/examples/sites/demos/pc/app/action-menu/spacing.vue b/examples/sites/demos/pc/app/action-menu/spacing.vue index b1a6127349..2872ee90ac 100644 --- a/examples/sites/demos/pc/app/action-menu/spacing.vue +++ b/examples/sites/demos/pc/app/action-menu/spacing.vue @@ -30,7 +30,7 @@ export default { }, { label: '网络设置', - children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }] + children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }] } ] } diff --git a/examples/sites/demos/pc/app/action-menu/text-field-composition-api.vue b/examples/sites/demos/pc/app/action-menu/text-field-composition-api.vue index f36e560ffe..4b31152c7b 100644 --- a/examples/sites/demos/pc/app/action-menu/text-field-composition-api.vue +++ b/examples/sites/demos/pc/app/action-menu/text-field-composition-api.vue @@ -21,7 +21,7 @@ const options = ref([ }, { name: '网络设置', - children: [{ name: '更改安全组' }, { name: '切换VPC', divided: true }] + children: [{ name: '更改安全组' }, { name: '切换 VPC', divided: true }] } ]) diff --git a/examples/sites/demos/pc/app/action-menu/text-field.vue b/examples/sites/demos/pc/app/action-menu/text-field.vue index 791fc17d8a..865da21043 100644 --- a/examples/sites/demos/pc/app/action-menu/text-field.vue +++ b/examples/sites/demos/pc/app/action-menu/text-field.vue @@ -26,7 +26,7 @@ export default { }, { name: '网络设置', - children: [{ name: '更改安全组' }, { name: '切换VPC', divided: true }] + children: [{ name: '更改安全组' }, { name: '切换 VPC', divided: true }] } ] } diff --git a/examples/sites/demos/pc/app/action-menu/webdoc/action-menu.js b/examples/sites/demos/pc/app/action-menu/webdoc/action-menu.js index 41453d3d91..fbc1125d5f 100644 --- a/examples/sites/demos/pc/app/action-menu/webdoc/action-menu.js +++ b/examples/sites/demos/pc/app/action-menu/webdoc/action-menu.js @@ -61,7 +61,7 @@ export default { 'en-US': 'Dropdown button text' }, desc: { - 'zh-CN': '

通过 more-text 属性设置下拉按钮文本,默认为 更多

', + 'zh-CN': '

通过 more-text 属性设置下拉按钮文本,默认为 更多

', 'en-US': '

Set the dropdown button text through the more-text attribute, default to More

' }, @@ -74,7 +74,7 @@ export default { 'en-US': 'Spacing' }, desc: { - 'zh-CN': '

通过 spacing 属性设置菜单按钮之间的间距,默认为 5px

', + 'zh-CN': '

通过 spacing 属性设置菜单按钮之间的间距,默认为 5px

', 'en-US': '

Set the spacing between menu buttons through the spacing attribute, which defaults to 5px.

' }, @@ -88,7 +88,7 @@ export default { }, desc: { 'zh-CN': - '

通过 mode 属性设置菜单模式以适配在不同场景中能够使用,例如:菜单按钮在卡片中使用,可以配置为 card,卡片模式字体为黑色,间距为10px。 mode 默认为值default

', + '

通过 mode 属性设置菜单模式以适配在不同场景中能够使用,例如:菜单按钮在卡片中使用,可以配置为 card,卡片模式字体为黑色,间距为 10px。 mode 默认为值default

', 'en-US': '

Use the mode attribute to set the menu mode so that the vehicle can be used in different scenarios. For example, if the menu button is used in configuration, it can be configured as card, and the auxiliary mode font is Black with 10px spacing. mode defaults to default.

' }, @@ -142,7 +142,7 @@ export default { 'zh-CN': '

事件说明

\n

item-click:监听菜单项的点击事件。

\n

more-click:监听下拉按钮的点击事件。trigger 为 click 时生效。

\n

visible-change:监听下拉弹框的显示或隐藏状态变化。

\n
\n', 'en-US': - '

Event description

\n

item-click:Listen for click events on menu items.

\n

more-click:Listen for the click event of the drop-down button. Effective when trigger is click.

\n

visible-change:Monitor the display or hidden status changes of the dropdown pop-up.

\n
\n' + '

Event description

\n

item-click: Listen for click events on menu items.

\n

more-click: Listen for the click event of the drop-down button. Effective when trigger is click.

\n

visible-change: Monitor the display or hidden status changes of the dropdown pop-up.

\n
\n' }, codeFiles: ['events.vue'] } diff --git a/examples/sites/demos/pc/app/alert/custom-close.spec.ts b/examples/sites/demos/pc/app/alert/custom-close.spec.ts index 27b7382ceb..74c4d0c83a 100644 --- a/examples/sites/demos/pc/app/alert/custom-close.spec.ts +++ b/examples/sites/demos/pc/app/alert/custom-close.spec.ts @@ -46,7 +46,7 @@ test('关闭按钮事件', async ({ page }) => { const alertWarning = page.locator('.tiny-alert--warning') const close = alertWarning.locator('.tiny-alert__close') - // 点击关闭后警告消失,自定义事件modalBox提示出现 + // 点击关闭后警告消失,自定义事件 modalBox 提示出现 await close.click() await expect(alertWarning).not.toBeVisible() await expect(page.locator('.tiny-notify__content').getByText('触发关闭事件')).toBeVisible() diff --git a/examples/sites/demos/pc/app/alert/slot-default.spec.ts b/examples/sites/demos/pc/app/alert/slot-default.spec.ts index 8c74081e7b..83fcba5cad 100644 --- a/examples/sites/demos/pc/app/alert/slot-default.spec.ts +++ b/examples/sites/demos/pc/app/alert/slot-default.spec.ts @@ -4,7 +4,7 @@ test('测试 Alert 自定义交互操作', async ({ page }) => { page.on('pageerror', (exception) => expect(exception).toBeNull()) await page.goto('alert#slot-default') - // size为large时可通过插槽自定义操作 + // size 为 large 时可通过插槽自定义操作 const alert = page.locator('.tiny-alert--large').first() const opration = alert.locator('.tiny-alert__opration') await expect(opration).toHaveCount(1) diff --git a/examples/sites/demos/pc/app/alert/title.spec.ts b/examples/sites/demos/pc/app/alert/title.spec.ts index 38ecaf6ce4..d48e62b3b3 100644 --- a/examples/sites/demos/pc/app/alert/title.spec.ts +++ b/examples/sites/demos/pc/app/alert/title.spec.ts @@ -4,7 +4,7 @@ test('测试 Alert 自定义标题', async ({ page }) => { page.on('pageerror', (exception) => expect(exception).toBeNull()) await page.goto('alert#title') - // size为large时可设置自定义标题 + // size 为 large 时可设置自定义标题 const alert = page.locator('.tiny-alert--large').first() const title = alert.locator('.tiny-alert__title') await expect(title).toHaveCount(1) diff --git a/examples/sites/demos/pc/app/alert/webdoc/alert.js b/examples/sites/demos/pc/app/alert/webdoc/alert.js index 2433d44f82..f75eb57671 100644 --- a/examples/sites/demos/pc/app/alert/webdoc/alert.js +++ b/examples/sites/demos/pc/app/alert/webdoc/alert.js @@ -28,8 +28,8 @@ export default {

尺寸模式区别

`, @@ -54,7 +54,7 @@ export default { }, desc: { 'zh-CN': `当 sizelarge 时,通过 title 属性或 title 插槽,可以自定义组件的标题。
- 如果未自定义标题, 会根据对应的 type 显示相应的默认标题。`, + 如果未自定义标题,会根据对应的 type 显示相应的默认标题。`, 'en-US': '

When size is set to large, the title is displayed. You can set title or slot to customize the title.
The default title is displayed according to the set type .

' }, @@ -121,8 +121,8 @@ export default { desc: { 'zh-CN': ` 通过 closable 属性,启用内置的关闭图标,默认值为 true
- 通过 close-text 设置关闭按钮显示为文本,仅当closabletrue时生效 。
- 将 closable 设置为 false 时, 取消内置的关闭功能。此时可通过 close 插槽,完全自定义关闭按钮区域的展示。 + 通过 close-text 设置关闭按钮显示为文本,仅当closabletrue时生效。
+ 将 closable 设置为 false 时,取消内置的关闭功能。此时可通过 close 插槽,完全自定义关闭按钮区域的展示。

组件关闭或隐藏时,会有渐隐动画,详见示例!