Skip to content

Commit 6db05f4

Browse files
HouLiXieBuRouSkyBird233
authored andcommitted
fix: 修复路由 /aosc-os/relnote/asahi 英文下的界面
1 parent 523a2fb commit 6db05f4

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ website/*
77
auto-imports.d.ts
88
components.d.ts
99
content/*
10-
locales/*
1110
fileServe/*

components/app/ul/AppUlOrdinary.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ const props = defineProps({
2525
v-for="(item, index) in lis"
2626
:key="`${myKey}-li-${index}`"
2727
:class="Array.isArray(item) ? 'list-none' : liClass">
28-
<template v-if="typeof item === 'string'">{{ item }}</template>
29-
<template v-else-if="Array.isArray(item)">
28+
<span v-if="typeof item === 'string'">{{ item }}</span>
29+
<span v-else-if="Array.isArray(item)">
3030
<app-ul-ordinary
3131
:lis="item"
3232
:li-class="liClass"
3333
:my-key="`${myKey}-${index}`"
3434
class="py-[0.5rem] pl-[2.5rem]" />
35-
</template>
35+
</span>
3636
</li>
3737
</ul>
3838
</template>

locales/en-us/json/page/aosc-os.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,17 @@
352352
},
353353
"asahi": {
354354
"p1": "Antong OS (Apple Silicon) is a system version released for Mac devices based on Apple chips. This update includes the following main content.",
355-
"p2": "This release is a regular update and includes all system updates as of February 15, 2024; among them, the Linux kernel version is updated to version 6.12.12, with the latest Asahi Linux patch set."
355+
"p2": "This release is a regular update and includes all system updates as of February 15, 2024; among them, the Linux kernel version is updated to version 6.12.12, with the latest Asahi Linux patch set.",
356+
"p3": "The current release contains the following known issues, which we will fix as soon as possible:",
357+
"title1": "Release Notes: February 2025",
358+
"title2": "Component update",
359+
"title3": "Known issues",
360+
"ul1": {
361+
"li": [
362+
"Due to previous lack of test equipment and no relevant support components were introduced, the speakers of MacBook Air (M1, 2020) are not driven correctly yet",
363+
"OpenGL graphics acceleration is temporarily unavailable, we are collated asahi Linux patch set"
364+
]
365+
}
356366
}
357367
},
358368
"requirements": {

pages/aosc-os/relnote/asahi.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ useHead({ title: textValue.title1 });
2626
<br />
2727
<div class="px-12 pt-2 pb-4">
2828
<app-ul-ordinary
29-
key="aosc-os-relnote-asahi-1"
29+
my-key="aosc-os-relnote-asahi-1"
3030
:lis="textValue.ul1.li" />
3131
</div>
3232
</div>

0 commit comments

Comments
 (0)