Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 91e769e5
authored
Jul 14, 2024
by
likui628
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: typos
1 parent
3a7b5c29
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
17 deletions
packages/@core/ui-kit/menu-ui/src/components/menu.vue
packages/effects/common-ui/src/authentication/forget-password.vue
packages/effects/common-ui/src/authentication/register.vue
packages/effects/common-ui/src/fallback/fallback.ts
packages/effects/common-ui/src/fallback/fallback.vue
packages/effects/common-ui/src/fallback/icons/icon-comming-soon.vue → packages/effects/common-ui/src/fallback/icons/icon-coming-soon.vue
packages/effects/layouts/src/basic/menu/extra-menu.vue
packages/@core/ui-kit/menu-ui/src/components/menu.vue
View file @
91e769e
...
...
@@ -175,10 +175,10 @@ function calcSliceIndex() {
}
function
debounce
(
fn
:
()
=>
void
,
wait
=
33.34
)
{
let
tim
m
er
:
ReturnType
<
typeof
setTimeout
>
|
null
;
let
timer
:
ReturnType
<
typeof
setTimeout
>
|
null
;
return
()
=>
{
tim
mer
&&
clearTimeout
(
tim
mer
);
tim
m
er
=
setTimeout
(()
=>
{
tim
er
&&
clearTimeout
(
ti
mer
);
timer
=
setTimeout
(()
=>
{
fn
();
},
wait
);
};
...
...
packages/effects/common-ui/src/authentication/forget-password.vue
View file @
91e769e
...
...
@@ -42,7 +42,7 @@ const emailStatus = computed(() => {
return
formState
.
submitted
&&
!
formState
.
email
?
'error'
:
'default'
;
});
function
handleSubm
u
t
()
{
function
handleSubm
i
t
()
{
formState
.
submitted
=
true
;
if
(
emailStatus
.
value
!==
'default'
)
{
return
;
...
...
@@ -76,7 +76,7 @@ function goToLogin() {
/>
</div>
<div>
<VbenButton
class=
"mt-2 w-full"
@
click=
"handleSubm
u
t"
>
<VbenButton
class=
"mt-2 w-full"
@
click=
"handleSubm
i
t"
>
{{ $t('authentication.sendResetLink') }}
</VbenButton>
<VbenButton
class=
"mt-4 w-full"
variant=
"outline"
@
click=
"goToLogin()"
>
...
...
packages/effects/common-ui/src/authentication/register.vue
View file @
91e769e
...
...
@@ -43,7 +43,7 @@ const router = useRouter();
const
formState
=
reactive
({
agreePolicy
:
false
,
co
m
firmPassword
:
''
,
co
n
firmPassword
:
''
,
password
:
''
,
submitted
:
false
,
username
:
''
,
...
...
@@ -57,8 +57,8 @@ const passwordStatus = computed(() => {
return
formState
.
submitted
&&
!
formState
.
password
?
'error'
:
'default'
;
});
const
co
m
firmPasswordStatus
=
computed
(()
=>
{
return
formState
.
submitted
&&
formState
.
password
!==
formState
.
co
m
firmPassword
const
co
n
firmPasswordStatus
=
computed
(()
=>
{
return
formState
.
submitted
&&
formState
.
password
!==
formState
.
co
n
firmPassword
?
'error'
:
'default'
;
});
...
...
@@ -116,12 +116,12 @@ function goToLogin() {
</VbenInputPassword>
<VbenInputPassword
v-model=
"formState.co
m
firmPassword"
v-model=
"formState.co
n
firmPassword"
:error-tip=
"$t('authentication.confirmPasswordTip')"
:label=
"$t('authentication.confirmPassword')"
:placeholder=
"$t('authentication.confirmPassword')"
:status=
"co
m
firmPasswordStatus"
name=
"co
m
firmPassword"
:status=
"co
n
firmPasswordStatus"
name=
"co
n
firmPassword"
required
type=
"password"
/>
...
...
packages/effects/common-ui/src/fallback/fallback.ts
View file @
91e769e
...
...
@@ -16,7 +16,7 @@ interface FallbackProps {
/**
* @zh_CN 内置类型
*/
status
?:
'403'
|
'404'
|
'500'
|
'com
m
ing-soon'
|
'offline'
;
status
?:
'403'
|
'404'
|
'500'
|
'coming-soon'
|
'offline'
;
/**
* @zh_CN 页面提示语
*/
...
...
packages/effects/common-ui/src/fallback/fallback.vue
View file @
91e769e
...
...
@@ -19,7 +19,7 @@ const props = withDefaults(defineProps<Props>(), {
homePath
:
'/'
,
image
:
''
,
showBack
:
true
,
status
:
'com
m
ing-soon'
,
status
:
'coming-soon'
,
title
:
''
,
});
...
...
@@ -27,7 +27,7 @@ const Icon403 = defineAsyncComponent(() => import('./icons/icon-403.vue'));
const
Icon404
=
defineAsyncComponent
(()
=>
import
(
'./icons/icon-404.vue'
));
const
Icon500
=
defineAsyncComponent
(()
=>
import
(
'./icons/icon-500.vue'
));
const
IconHello
=
defineAsyncComponent
(
()
=>
import
(
'./icons/icon-com
m
ing-soon.vue'
),
()
=>
import
(
'./icons/icon-coming-soon.vue'
),
);
const
IconOffline
=
defineAsyncComponent
(
()
=>
import
(
'./icons/icon-offline.vue'
),
...
...
@@ -51,7 +51,7 @@ const titleText = computed(() => {
case
'offline'
:
{
return
$t
(
'fallback.offlineError'
);
}
case
'com
m
ing-soon'
:
{
case
'coming-soon'
:
{
return
$t
(
'fallback.comingSoon'
);
}
default
:
{
...
...
@@ -97,7 +97,7 @@ const fallbackIcon = computed(() => {
case
'offline'
:
{
return
IconOffline
;
}
case
'com
m
ing-soon'
:
{
case
'coming-soon'
:
{
return
IconHello
;
}
default
:
{
...
...
packages/effects/common-ui/src/fallback/icons/icon-com
m
ing-soon.vue
→
packages/effects/common-ui/src/fallback/icons/icon-coming-soon.vue
View file @
91e769e
File moved
packages/effects/layouts/src/basic/menu/extra-menu.vue
View file @
91e769e
...
...
@@ -8,7 +8,7 @@ import { Menu, MenuProps } from '@vben-core/menu-ui';
import
{
useNavigation
}
from
'./use-navigation'
;
interface
Props
extends
MenuProps
{
coll
spa
e
?:
boolean
;
coll
aps
e
?:
boolean
;
menus
:
MenuRecordRaw
[];
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment