Skip to content

Commit a80b367

Browse files
committed
fix(/manage/record): update strings
1 parent f211944 commit a80b367

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

nuxt.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export default defineNuxtConfig({
1212
},
1313
},
1414
},
15+
1516
modules: [
1617
'@vite-pwa/nuxt',
1718
'@nuxtjs/tailwindcss',
@@ -24,9 +25,11 @@ export default defineNuxtConfig({
2425
'@sentry/nuxt/module',
2526
'@nuxt/image',
2627
],
28+
2729
build: {
2830
transpile: ['vue-clerk', '@clerk/clerk-js'],
2931
},
32+
3033
runtimeConfig: {
3134
public: {
3235
sentry: {
@@ -40,6 +43,7 @@ export default defineNuxtConfig({
4043
tsimsUrl: process.env.TSIMS_URL,
4144
clerkSecretKey: process.env.CLERK_SECRET_KEY,
4245
},
46+
4347
shadcn: {
4448
/**
4549
* Prefix for all the imported component
@@ -51,12 +55,14 @@ export default defineNuxtConfig({
5155
*/
5256
componentDir: './components/ui',
5357
},
58+
5459
dayjs: {
5560
locales: ['en', 'zh-cn'],
5661
plugins: ['relativeTime', 'utc', 'timezone'],
5762
defaultLocale: 'zh-cn',
5863
defaultTimezone: 'Asia/Shanghai',
5964
},
65+
6066
sentry: {
6167
debug: true,
6268
sourceMapsUploadOptions: {
@@ -65,4 +71,6 @@ export default defineNuxtConfig({
6571
authToken: process.env.SENTRY_AUTH_TOKEN,
6672
},
6773
},
74+
75+
compatibilityDate: '2024-08-12',
6876
})

pages/manage/record.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const refreshState = ref(false)
2626
<Icon name="ic:sharp-remove-red-eye" />
2727
我的申请
2828
</CardTitle>
29-
<CardDescription>在此处浏览您的请假申请</CardDescription>
29+
<CardDescription>在此处浏览您的活动记录</CardDescription>
3030
</CardHeader>
3131
<CardContent>
3232
<Skeleton class="w-full h-32" />
@@ -43,7 +43,7 @@ const refreshState = ref(false)
4343
<Icon name="material-symbols:add-circle-outline" />
4444
新增
4545
</CardTitle>
46-
<CardDescription>在此处新增请假申请</CardDescription>
46+
<CardDescription>在此处新增活动记录</CardDescription>
4747
</CardHeader>
4848
<CardContent>
4949
<form class="space-y-6">

0 commit comments

Comments
 (0)