Skip to content

Commit b1e5e77

Browse files
authored
fix(vue-renderless): [breadcrumb, bulletin-board, button, button-group,calendar, calendar-view, card, carousel, cascader, cascader-panel, chart,checkbox, collapse, color-picker, color-select-panel,company,config-provider,container,crop,currency,date-picker,dept,dialog-box,dialog-select,directives,divider,drawer,drop-roles,drop-times,dropdown,espace,fall-menu,file-upload,filter-panel,float-button,floatbar,flowchart,fluent-editor,form,fullscreen] fix site: Optimize site documentation typesetting (#2709)
* 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. * 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. * fix(vue-renderless): [amount, anchor, area, autocomplete] fix site: Optimize site documentation typesetting * fix(vue-renderless): [base-select] fix site: Optimize site documentation typesetting * fix(vue-renderless): [base-select] fix site: Optimize site documentation typesetting * fix(vue-renderless): [base-select] fix site: Optimize site documentation typesetting * fix(vue-renderless): [breadcrumb, bulletin-board, button, button-group] fix site: Optimize site documentation typesetting * fix(vue-renderless): [calendar, calendar-view, card, carousel, cascader, cascader-panel, chart] fix site: Optimize site documentation typesetting * fix(vue-renderless): [checkbox, collapse, color-picker, color-select-panel,company,config-provider,container,crop,currency] fix site: Optimize site documentation typesetting * fix(vue-renderless): [breadcrumb, bulletin-board, button, button-group] fix site: Optimize site documentation typesetting * fix(vue-renderless): [date-picker,dept,dialog-box,dialog-select,directives,divider,drawer,drop-roles,drop-times,dropdown] fix site: Optimize site documentation typesetting * fix(vue-renderless): [espace,fall-menu,file-upload,filter-panel,float-button,floatbar,flowchart,fluent-editor,form,fullscreen] fix site: Optimize site documentation typesetting
1 parent 22bb2d7 commit b1e5e77

File tree

393 files changed

+1255
-1255
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

393 files changed

+1255
-1255
lines changed

examples/sites/demos/pc/app/breadcrumb/base.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ test('Breadcrumb 基础用法', async ({ page }) => {
99
const currentItem = breadcrumbItem.last()
1010
const separator = page.locator('.tiny-breadcrumb__separator')
1111

12-
// 面包屑导航、导航项出现,当前页导航加粗
12+
// 面包屑导航、导航项出现当前页导航加粗
1313
await expect(breadcrumb).toBeVisible()
1414
await expect(breadcrumbItem).toHaveCount(3)
1515
await expect(currentItem.last().locator('.is-link')).toHaveCSS('font-weight', '600')

examples/sites/demos/pc/app/breadcrumb/options.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { test, expect } from '@playwright/test'
22

3-
test('Breadcrumb options配置', async ({ page }) => {
3+
test('Breadcrumb options 配置', async ({ page }) => {
44
page.on('pageerror', (exception) => expect(exception).toBeNull())
55
await page.goto('breadcrumb#options')
66

@@ -9,7 +9,7 @@ test('Breadcrumb options配置', async ({ page }) => {
99
const currentItem = breadcrumbItem.last()
1010
const separator = breadcrumb.locator('.tiny-breadcrumb__separator')
1111

12-
// 面包屑导航、导航项出现,当前页导航加粗
12+
// 面包屑导航、导航项出现当前页导航加粗
1313
await expect(breadcrumb).toBeVisible()
1414
await expect(breadcrumbItem).toHaveCount(3)
1515
await expect(currentItem.last().getByRole('link')).toHaveCSS('font-weight', '600')

examples/sites/demos/pc/app/breadcrumb/size.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test('Breadcrumb 尺寸设置', async ({ page }) => {
1010
const currentItem = breadcrumbItem.last()
1111
const separator = page.locator('.tiny-breadcrumb__separator')
1212

13-
// 面包屑导航、导航项出现,当前页导航加粗
13+
// 面包屑导航、导航项出现当前页导航加粗
1414
await expect(breadcrumb).toBeVisible()
1515
await expect(breadcrumbItem).toHaveCount(3)
1616
await expect(currentItem.last().locator('.is-link')).toHaveCSS('font-weight', '600')

examples/sites/demos/pc/app/bulletin-board/events-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const data = ref([
8888
])
8989
function contentClick(item) {
9090
TinyModal.message({
91-
message: '触发 contentClick 事件:内容为' + item.text,
91+
message: '触发 contentClick 事件:内容为 ' + item.text,
9292
status: 'info'
9393
})
9494
}

examples/sites/demos/pc/app/bulletin-board/events.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ test('测试点击事件', async ({ page }) => {
77
const modal = page.locator('.tiny-modal')
88

99
await demo.getByRole('link', { name: 'TINY v2.1.3 版本' }).click()
10-
await expect(modal.getByText('click 事件:内容为TINY v2.1.3 版本')).toBeVisible()
10+
await expect(modal.getByText('click 事件:内容为 TINY v2.1.3 版本')).toBeVisible()
1111
})

examples/sites/demos/pc/app/bulletin-board/events.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default {
9696
methods: {
9797
contentClick(item) {
9898
TinyModal.message({
99-
message: '触发 contentClick 事件:内容为' + item.text,
99+
message: '触发 contentClick 事件:内容为 ' + item.text,
100100
status: 'info'
101101
})
102102
}

examples/sites/demos/pc/app/bulletin-board/more-link.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { test, expect } from '@playwright/test'
22

3-
test('BulletinBoard 显示 “更多” 链接(', async ({ page }) => {
3+
test('BulletinBoard 显示“更多”链接 (', async ({ page }) => {
44
page.on('pageerror', (exception) => expect(exception).toBeNull())
55
await page.goto('bulletin-board#more-link')
66

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { test, expect } from '@playwright/test'
22

3-
test('BulletinBoard 基于Route的跳转', async ({ page }) => {
3+
test('BulletinBoard 基于 Route 的跳转', async ({ page }) => {
44
page.on('pageerror', (exception) => expect(exception).toBeNull())
55
await page.goto('bulletin-board#route')
66

77
const preview = page.locator('#route')
88
const contentTitle = preview.locator('.tiny-bulletin-board__textTitle')
99

10-
// 判断a标签href属性值
10+
// 判断 a 标签 href 属性值
1111
await expect(contentTitle).toHaveAttribute('href', '/#/Alert')
1212
})

examples/sites/demos/pc/app/bulletin-board/tab-title.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { test, expect } from '@playwright/test'
22

3-
test('BulletinBoard 选项卡标题(', async ({ page }) => {
3+
test('BulletinBoard 选项卡标题 (', async ({ page }) => {
44
page.on('pageerror', (exception) => expect(exception).toBeNull())
55
await page.goto('bulletin-board#tab-title')
66

examples/sites/demos/pc/app/bulletin-board/title.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { test, expect } from '@playwright/test'
22

3-
test('BulletinBoard 公告牌标题(', async ({ page }) => {
3+
test('BulletinBoard 公告牌标题 (', async ({ page }) => {
44
page.on('pageerror', (exception) => expect(exception).toBeNull())
55
await page.goto('bulletin-board#title')
66

0 commit comments

Comments
 (0)