Skip to content

fix: fix typo #3557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { TinyActionMenu } from '@opentiny/vue'

const options = ref([
{
label: '远程登陆'
label: '远程登录'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo from '远程登陆' to '远程登录'.

},
{
label: '开机'
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/action-menu/basic-usage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default {
return {
options: [
{
label: '远程登陆'
label: '远程登录'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo from '远程登陆' to '远程登录'.

},
{
label: '开机'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { iconWebPlus, iconSuccessful, iconCloseSquare } from '@opentiny/vue-icon

const options = ref([
{
label: '远程登陆',
label: '远程登录',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo from '远程登陆' to '远程登录'.

icon: iconWebPlus()
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/action-menu/card-mode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
return {
options: [
{
label: '远程登陆',
label: '远程登录',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo from '远程登陆' to '远程登录'.

icon: iconWebPlus()
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { iconWebPlus, iconSuccessful, iconCloseSquare } from '@opentiny/vue-icon

const options = ref([
{
label: '远程登陆'
label: '远程登录'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo from '远程登陆' to '远程登录'.

},
{
label: '开机',
Expand All @@ -38,7 +38,7 @@ const options = ref([

const options1 = ref([
{
label: '远程登陆',
label: '远程登录',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo from '远程登陆' to '远程登录'.

icon: iconWebPlus()
},
{
Expand Down
4 changes: 2 additions & 2 deletions examples/sites/demos/pc/app/action-menu/disabled.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default {
return {
options: [
{
label: '远程登陆'
label: '远程登录'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo from '远程登陆' to '远程登录'.

},
{
label: '开机',
Expand All @@ -43,7 +43,7 @@ export default {
],
options1: [
{
label: '远程登陆',
label: '远程登录',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo from '远程登陆' to '远程登录'.

icon: iconWebPlus()
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { TinyActionMenu, TinyNotify } from '@opentiny/vue'

const options = ref([
{
label: '远程登陆'
label: '远程登录'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo from '远程登陆' to '远程登录'.

},
{
label: '开机'
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/action-menu/events.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default {
return {
options: [
{
label: '远程登陆'
label: '远程登录'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo from '远程登陆' to '远程登录'.

},
{
label: '开机'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { iconWebPlus, iconSuccessful, iconShutdown, iconEllipsis } from '@openti

const options = ref([
{
label: '远程登陆',
label: '远程登录',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo from '远程登陆' to '远程登录'.

icon: iconWebPlus()
},
{
Expand All @@ -45,7 +45,7 @@ const options = ref([

const options1 = ref([
{
label: '远程登陆'
label: '远程登录'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo from '远程登陆' to '远程登录'.

},
{
label: '开机'
Expand Down
4 changes: 2 additions & 2 deletions examples/sites/demos/pc/app/action-menu/icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default {
return {
options: [
{
label: '远程登陆',
label: '远程登录',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected typo from '远程登陆' to '远程登录'.

icon: iconWebPlus()
},
{
Expand All @@ -48,7 +48,7 @@ export default {
],
options1: [
{
label: '远程登陆'
label: '远程登录'
},
{
label: '开机'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { TinyActionMenu } from '@opentiny/vue'

const options = ref([
{
label: '远程登陆'
label: '远程登录'
},
{
label: '开机'
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/action-menu/max-show-num.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default {
return {
options: [
{
label: '远程登陆'
label: '远程登录'
},
{
label: '开机'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { TinyActionMenu } from '@opentiny/vue'

const options = ref([
{
label: '远程登陆'
label: '远程登录'
},
{
label: '开机'
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/action-menu/more-text.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default {
return {
options: [
{
label: '远程登陆'
label: '远程登录'
},
{
label: '开机'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { TinyActionMenu } from '@opentiny/vue'

const options = ref([
{
label: '远程登陆'
label: '远程登录'
},
{
label: '开机'
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/action-menu/popper-class.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default {
return {
options: [
{
label: '远程登陆'
label: '远程登录'
},
{
label: '开机'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { iconSmile } from '@opentiny/vue-icon'

const options = ref([
{
name: '远程登陆'
name: '远程登录'
},
{
name: '开机'
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/action-menu/slot-item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default {
return {
options: [
{
name: '远程登陆'
name: '远程登录'
},
{
name: '开机'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { TinyActionMenu } from '@opentiny/vue'

const options = ref([
{
label: '远程登陆'
label: '远程登录'
},
{
label: '开机'
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/action-menu/spacing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default {
return {
options: [
{
label: '远程登陆'
label: '远程登录'
},
{
label: '开机'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { TinyActionMenu } from '@opentiny/vue'

const options = ref([
{
name: '远程登陆'
name: '远程登录'
},
{
name: '开机'
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/action-menu/text-field.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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('开机')
})
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/action-menu/text-field.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default {
return {
options: [
{
name: '远程登陆'
name: '远程登录'
},
{
name: '开机'
Expand Down
2 changes: 1 addition & 1 deletion packages/renderless/src/logout/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const initService = ({ props, service }) => {
subscribe({
topic: 'tiny.ui.closeLoginDialog',
callback() {
// 登陆后刷新页面
// 登录后刷新页面
window.location.reload()
}
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('PC Mode', () => {
const mount = mountPcMode
const options = [
{
label: '远程登陆'
label: '远程登录'
},
{
label: '开机'
Expand Down
Loading