mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
delete redundant code
This commit is contained in:
1 parent
980d0497f4
commit
df980a7d56
4 files changed
+2
-19
No files matched your search
@@ -2,6 +2,6 @@
|
|||||||
<font-awesome-icon :icon="['fas', 'list']" class="text-text-primary p-1" />
|
<font-awesome-icon :icon="['fas', 'list']" class="text-text-primary p-1" />
|
||||||
<h1 id="CommandBook" class="inline text-text-primary font-xl">指令之書</h1>
|
<h1 id="CommandBook" class="inline text-text-primary font-xl">指令之書</h1>
|
||||||
<div id="cheatsheets">
|
<div id="cheatsheets">
|
||||||
<p class="text-text-secondary">--指令列表--</p>
|
<p class="text-text-secondary">-- --指令列表-- --</p>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -26,7 +26,6 @@ const backtoMap = async () => {
|
|||||||
try {
|
try {
|
||||||
router.push({ name: 'map' })
|
router.push({ name: 'map' })
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
// useToast().error('Failed to load map')
|
|
||||||
toast.error('無法讀取地圖')
|
toast.error('無法讀取地圖')
|
||||||
console.error(err)
|
console.error(err)
|
||||||
}
|
}
|
||||||
@@ -60,17 +59,6 @@ setTimeout(() => {
|
|||||||
<p class="text-base text-text text-center">
|
<p class="text-base text-text text-center">
|
||||||
接下來回到地圖,迎接新的挑戰吧!
|
接下來回到地圖,迎接新的挑戰吧!
|
||||||
</p>
|
</p>
|
||||||
<!-- <p class="text-base text-text">
|
|
||||||
您已成功完成挑戰,真的非常感謝您的參與!<br />
|
|
||||||
如果您能撥冗填寫這份問卷,我們將不勝感激,這對我們非常重要!
|
|
||||||
</p> -->
|
|
||||||
<!-- <a
|
|
||||||
id="SurveyButton"
|
|
||||||
:href="surveyUrl"
|
|
||||||
target="_blank"
|
|
||||||
class="inline-flex justify-center rounded-lg text-base font-black py-2 mt-3 bg-text-primary w-full"
|
|
||||||
>填寫問卷</a
|
|
||||||
> -->
|
|
||||||
<a
|
<a
|
||||||
id="BacktoMap"
|
id="BacktoMap"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|||||||
@@ -27,16 +27,12 @@ const right = () => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="h-full flex flex-col">
|
<div class="h-full flex flex-col">
|
||||||
<!-- Hint Header -->
|
|
||||||
<div class="flex items-center p-2 h-10">
|
<div class="flex items-center p-2 h-10">
|
||||||
<font-awesome-icon
|
<font-awesome-icon
|
||||||
:icon="['far', 'lightbulb']"
|
:icon="['far', 'lightbulb']"
|
||||||
class="text-yellow-200 p-2 content-center"
|
class="text-yellow-200 p-2 content-center"
|
||||||
/>
|
/>
|
||||||
<h1 class="inline text-text w-1/2 font-xl p-2 m-1">
|
<h1 class="inline text-text w-1/2 font-xl p-2 m-1">提示</h1>
|
||||||
<!-- Hint -->
|
|
||||||
提示
|
|
||||||
</h1>
|
|
||||||
<div v-if="current !== -1" class="flex w-full justify-end items-end">
|
<div v-if="current !== -1" class="flex w-full justify-end items-end">
|
||||||
<button
|
<button
|
||||||
class="p-2 m-1 w-1/8"
|
class="p-2 m-1 w-1/8"
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ const handleLogout = async () => {
|
|||||||
reset()
|
reset()
|
||||||
router.push({ name: 'login' })
|
router.push({ name: 'login' })
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
// toast.error('Failed to logout')
|
|
||||||
toast.error('登出失敗')
|
toast.error('登出失敗')
|
||||||
console.error(err)
|
console.error(err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user