File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 8
8
"persistPiniaState" : " 🍍 Persistent Pinia state" ,
9
9
"unocssExample" : " 🎨 Unocss example" ,
10
10
"keepAlive" : " 🧡 KeepAlive Demo" ,
11
- "login" : " 🔒 Login"
11
+ "login" : " 🔒 Login" ,
12
+ "basicSettings" : " Basic Settings" ,
13
+ "exampleComponents" : " Example components"
12
14
},
13
15
"mock" : {
14
16
"fromAsyncData" : " Data from asynchronous requests" ,
Original file line number Diff line number Diff line change 8
8
"404Demo" : " 🙅 404页 演示" ,
9
9
"unocssExample" : " 🎨 Unocss 示例" ,
10
10
"keepAlive" : " 🧡 KeepAlive 演示" ,
11
- "login" : " 🔒 用户登陆"
11
+ "login" : " 🔒 用户登陆" ,
12
+ "basicSettings" : " 基本设置" ,
13
+ "exampleComponents" : " 示例组件"
12
14
},
13
15
"mock" : {
14
16
"fromAsyncData" : " 来自异步请求的数据" ,
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const menuItems = computed(() => ([
41
41
</script >
42
42
43
43
<template >
44
- <VanCellGroup title =" 基本设置 " :border =" false" :inset =" true" >
44
+ <VanCellGroup : title =" t('home.basicSettings') " :border =" false" :inset =" true" >
45
45
<VanCell center :title =" t('home.darkMode')" >
46
46
<template #right-icon >
47
47
<VanSwitch v-model =" checked" size =" 20px" aria-label =" on/off Dark Mode" @click =" toggle()" />
@@ -56,7 +56,7 @@ const menuItems = computed(() => ([
56
56
/>
57
57
</VanCellGroup >
58
58
59
- <VanCellGroup title =" 示例组件 " :border =" false" :inset =" true" >
59
+ <VanCellGroup : title =" t('home.exampleComponents') " :border =" false" :inset =" true" >
60
60
<template v-for =" item in menuItems " :key =" item .route " >
61
61
<VanCell :title =" item.title" :to =" item.route" is-link />
62
62
</template >
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ async function asyncLogin(values: any) {
52
52
</van-cell-group >
53
53
<div class =" m-16" >
54
54
<van-button :loading =" loading" round block type =" primary" native-type =" submit" >
55
- {{ t('login.logout ') }}
55
+ {{ t('login.login ') }}
56
56
</van-button >
57
57
</div >
58
58
</van-form >
You can’t perform that action at this time.
0 commit comments