Skip to content

Commit

Permalink
fix: update and optimize modal demo
Browse files Browse the repository at this point in the history
  • Loading branch information
James-9696 committed Feb 28, 2024
1 parent 2f2cf1d commit aea0e33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test, expect } from '@playwright/test'

test('不显示头部及底部', async ({ page }) => {
test('控制显示头部及底部', async ({ page }) => {
page.on('pageerror', (exception) => expect(exception).toBeNull())
await page.goto('modal#show-header-footer')

Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/modal/webdoc/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export default {
{
demoId: 'show-header-footer',
name: {
'zh-CN': '不显头部及底部',
'zh-CN': '控制显示头部及底部',
'en-US': 'Do Not Display Header and Bottom'
},
desc: {
Expand Down

0 comments on commit aea0e33

Please sign in to comment.