From 2cea94bbc9e5da8c962b80e1de3248eab31d7e5b Mon Sep 17 00:00:00 2001 From: Kagol Date: Wed, 9 Jul 2025 00:44:07 +0800 Subject: [PATCH] fix: fix typo --- .../demos/pc/app/action-menu/basic-usage-composition-api.vue | 2 +- examples/sites/demos/pc/app/action-menu/basic-usage.vue | 2 +- .../demos/pc/app/action-menu/card-mode-composition-api.vue | 2 +- examples/sites/demos/pc/app/action-menu/card-mode.vue | 2 +- .../demos/pc/app/action-menu/disabled-composition-api.vue | 4 ++-- examples/sites/demos/pc/app/action-menu/disabled.vue | 4 ++-- .../sites/demos/pc/app/action-menu/events-composition-api.vue | 2 +- examples/sites/demos/pc/app/action-menu/events.vue | 2 +- .../sites/demos/pc/app/action-menu/icon-composition-api.vue | 4 ++-- examples/sites/demos/pc/app/action-menu/icon.vue | 4 ++-- .../demos/pc/app/action-menu/max-show-num-composition-api.vue | 2 +- examples/sites/demos/pc/app/action-menu/max-show-num.vue | 2 +- .../demos/pc/app/action-menu/more-text-composition-api.vue | 2 +- examples/sites/demos/pc/app/action-menu/more-text.vue | 2 +- .../demos/pc/app/action-menu/popper-class-composition-api.vue | 2 +- examples/sites/demos/pc/app/action-menu/popper-class.vue | 2 +- .../demos/pc/app/action-menu/slot-item-composition-api.vue | 2 +- examples/sites/demos/pc/app/action-menu/slot-item.vue | 2 +- .../demos/pc/app/action-menu/spacing-composition-api.vue | 2 +- examples/sites/demos/pc/app/action-menu/spacing.vue | 2 +- .../demos/pc/app/action-menu/text-field-composition-api.vue | 2 +- examples/sites/demos/pc/app/action-menu/text-field.spec.ts | 2 +- examples/sites/demos/pc/app/action-menu/text-field.vue | 2 +- packages/renderless/src/logout/index.ts | 2 +- packages/vue/src/action-menu/__tests__/action-menu.test.tsx | 2 +- 25 files changed, 29 insertions(+), 29 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 989d930b78..c755c44451 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 @@ -8,7 +8,7 @@ import { TinyActionMenu } from '@opentiny/vue' const options = ref([ { - label: '远程登陆' + label: '远程登录' }, { label: '开机' 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 4e6f7f3891..4d869ce1db 100644 --- a/examples/sites/demos/pc/app/action-menu/basic-usage.vue +++ b/examples/sites/demos/pc/app/action-menu/basic-usage.vue @@ -13,7 +13,7 @@ export default { return { options: [ { - label: '远程登陆' + label: '远程登录' }, { label: '开机' 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 8eaf9690a2..ea3d14ba8d 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 @@ -9,7 +9,7 @@ import { iconWebPlus, iconSuccessful, iconCloseSquare } from '@opentiny/vue-icon const options = ref([ { - label: '远程登陆', + label: '远程登录', icon: iconWebPlus() }, { 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 034aed8769..e7aecd81b9 100644 --- a/examples/sites/demos/pc/app/action-menu/card-mode.vue +++ b/examples/sites/demos/pc/app/action-menu/card-mode.vue @@ -14,7 +14,7 @@ export default { return { options: [ { - label: '远程登陆', + label: '远程登录', icon: iconWebPlus() }, { 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 9c80b83f08..d3349c5bf3 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 @@ -15,7 +15,7 @@ import { iconWebPlus, iconSuccessful, iconCloseSquare } from '@opentiny/vue-icon const options = ref([ { - label: '远程登陆' + label: '远程登录' }, { label: '开机', @@ -38,7 +38,7 @@ const options = ref([ const options1 = ref([ { - label: '远程登陆', + label: '远程登录', icon: iconWebPlus() }, { diff --git a/examples/sites/demos/pc/app/action-menu/disabled.vue b/examples/sites/demos/pc/app/action-menu/disabled.vue index d4f7d1e2d9..860b108d6b 100644 --- a/examples/sites/demos/pc/app/action-menu/disabled.vue +++ b/examples/sites/demos/pc/app/action-menu/disabled.vue @@ -20,7 +20,7 @@ export default { return { options: [ { - label: '远程登陆' + label: '远程登录' }, { label: '开机', @@ -43,7 +43,7 @@ export default { ], options1: [ { - label: '远程登陆', + label: '远程登录', icon: iconWebPlus() }, { 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 9a6e48a196..29a3532c9a 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 @@ -15,7 +15,7 @@ import { TinyActionMenu, TinyNotify } from '@opentiny/vue' const options = ref([ { - label: '远程登陆' + label: '远程登录' }, { label: '开机' diff --git a/examples/sites/demos/pc/app/action-menu/events.vue b/examples/sites/demos/pc/app/action-menu/events.vue index 258add5b73..03e0661992 100644 --- a/examples/sites/demos/pc/app/action-menu/events.vue +++ b/examples/sites/demos/pc/app/action-menu/events.vue @@ -20,7 +20,7 @@ export default { return { options: [ { - label: '远程登陆' + label: '远程登录' }, { label: '开机' 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 40ac8ed824..96f4676c30 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 @@ -23,7 +23,7 @@ import { iconWebPlus, iconSuccessful, iconShutdown, iconEllipsis } from '@openti const options = ref([ { - label: '远程登陆', + label: '远程登录', icon: iconWebPlus() }, { @@ -45,7 +45,7 @@ const options = ref([ const options1 = ref([ { - label: '远程登陆' + label: '远程登录' }, { label: '开机' diff --git a/examples/sites/demos/pc/app/action-menu/icon.vue b/examples/sites/demos/pc/app/action-menu/icon.vue index 60afb3ffcc..d6c5c38cc9 100644 --- a/examples/sites/demos/pc/app/action-menu/icon.vue +++ b/examples/sites/demos/pc/app/action-menu/icon.vue @@ -27,7 +27,7 @@ export default { return { options: [ { - label: '远程登陆', + label: '远程登录', icon: iconWebPlus() }, { @@ -48,7 +48,7 @@ export default { ], options1: [ { - label: '远程登陆' + label: '远程登录' }, { label: '开机' 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 b8c5b95f45..25e53604e1 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 @@ -8,7 +8,7 @@ import { TinyActionMenu } from '@opentiny/vue' const options = ref([ { - label: '远程登陆' + label: '远程登录' }, { label: '开机' 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 13c602c85d..bf9ce7787f 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 @@ -13,7 +13,7 @@ export default { return { options: [ { - label: '远程登陆' + label: '远程登录' }, { label: '开机' 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 03b2ea232b..d534a65888 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 @@ -8,7 +8,7 @@ import { TinyActionMenu } from '@opentiny/vue' const options = ref([ { - label: '远程登陆' + label: '远程登录' }, { label: '开机' 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 dc10e23d29..6a870312c1 100644 --- a/examples/sites/demos/pc/app/action-menu/more-text.vue +++ b/examples/sites/demos/pc/app/action-menu/more-text.vue @@ -13,7 +13,7 @@ export default { return { options: [ { - label: '远程登陆' + label: '远程登录' }, { label: '开机' 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 8c9aba5c89..27aebc918b 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 @@ -8,7 +8,7 @@ import { TinyActionMenu } from '@opentiny/vue' const options = ref([ { - label: '远程登陆' + label: '远程登录' }, { label: '开机' 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 59d869ee52..3af0a79126 100644 --- a/examples/sites/demos/pc/app/action-menu/popper-class.vue +++ b/examples/sites/demos/pc/app/action-menu/popper-class.vue @@ -13,7 +13,7 @@ export default { return { options: [ { - label: '远程登陆' + label: '远程登录' }, { label: '开机' 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 7d97b7199b..7b45af03de 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 @@ -14,7 +14,7 @@ import { iconSmile } from '@opentiny/vue-icon' const options = ref([ { - name: '远程登陆' + name: '远程登录' }, { name: '开机' 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 5426c2a063..86f8419dbf 100644 --- a/examples/sites/demos/pc/app/action-menu/slot-item.vue +++ b/examples/sites/demos/pc/app/action-menu/slot-item.vue @@ -20,7 +20,7 @@ export default { return { options: [ { - name: '远程登陆' + name: '远程登录' }, { name: '开机' 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 b7121841ef..e7c8052c0d 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 @@ -12,7 +12,7 @@ import { TinyActionMenu } from '@opentiny/vue' const options = ref([ { - label: '远程登陆' + label: '远程登录' }, { label: '开机' diff --git a/examples/sites/demos/pc/app/action-menu/spacing.vue b/examples/sites/demos/pc/app/action-menu/spacing.vue index 2872ee90ac..8fdd77dd2a 100644 --- a/examples/sites/demos/pc/app/action-menu/spacing.vue +++ b/examples/sites/demos/pc/app/action-menu/spacing.vue @@ -17,7 +17,7 @@ export default { return { options: [ { - label: '远程登陆' + label: '远程登录' }, { label: '开机' 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 4b31152c7b..2951f7c32d 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 @@ -8,7 +8,7 @@ import { TinyActionMenu } from '@opentiny/vue' const options = ref([ { - name: '远程登陆' + name: '远程登录' }, { name: '开机' diff --git a/examples/sites/demos/pc/app/action-menu/text-field.spec.ts b/examples/sites/demos/pc/app/action-menu/text-field.spec.ts index a53d18f004..58317ee90c 100644 --- a/examples/sites/demos/pc/app/action-menu/text-field.spec.ts +++ b/examples/sites/demos/pc/app/action-menu/text-field.spec.ts @@ -8,6 +8,6 @@ test('映射字段', async ({ page }) => { const actionMenu = wrap.locator('.tiny-action-menu') const visibleItem = actionMenu.locator('.tiny-action-menu__item') - await expect(visibleItem.first()).toHaveText('远程登陆') + await expect(visibleItem.first()).toHaveText('远程登录') await expect(visibleItem.nth(1)).toHaveText('开机') }) 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 865da21043..e05b98b7d8 100644 --- a/examples/sites/demos/pc/app/action-menu/text-field.vue +++ b/examples/sites/demos/pc/app/action-menu/text-field.vue @@ -13,7 +13,7 @@ export default { return { options: [ { - name: '远程登陆' + name: '远程登录' }, { name: '开机' diff --git a/packages/renderless/src/logout/index.ts b/packages/renderless/src/logout/index.ts index 512b6a1577..b6537f5e27 100644 --- a/packages/renderless/src/logout/index.ts +++ b/packages/renderless/src/logout/index.ts @@ -98,7 +98,7 @@ export const initService = ({ props, service }) => { subscribe({ topic: 'tiny.ui.closeLoginDialog', callback() { - // 登陆后刷新页面 + // 登录后刷新页面 window.location.reload() } }) diff --git a/packages/vue/src/action-menu/__tests__/action-menu.test.tsx b/packages/vue/src/action-menu/__tests__/action-menu.test.tsx index 4ed2573c69..05d4aeeb23 100644 --- a/packages/vue/src/action-menu/__tests__/action-menu.test.tsx +++ b/packages/vue/src/action-menu/__tests__/action-menu.test.tsx @@ -6,7 +6,7 @@ describe('PC Mode', () => { const mount = mountPcMode const options = [ { - label: '远程登陆' + label: '远程登录' }, { label: '开机'