mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
remove redundant variable
This commit is contained in:
1 parent
334b34ef65
commit
4033eefa0d
2 files changed
+1
-6
No files matched your search
@@ -14,10 +14,6 @@ const props = defineProps({
|
|||||||
type: String,
|
type: String,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
questCompleted: {
|
|
||||||
type: Boolean,
|
|
||||||
required: true,
|
|
||||||
},
|
|
||||||
questUnlocked: {
|
questUnlocked: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
required: true,
|
required: true,
|
||||||
@@ -27,7 +23,7 @@ const emit = defineEmits(['closeIntro'])
|
|||||||
const showIntro = ref(true) // Controls whether the modal is visible or not
|
const showIntro = ref(true) // Controls whether the modal is visible or not
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const toast = useToast()
|
const toast = useToast()
|
||||||
const { questTitle, questId, questCompleted, questUnlocked } = props
|
const { questTitle, questId, questUnlocked } = props
|
||||||
const questInstruction = ref('')
|
const questInstruction = ref('')
|
||||||
const questColor = ref('')
|
const questColor = ref('')
|
||||||
const questTextColor = ref('')
|
const questTextColor = ref('')
|
||||||
|
|||||||
@@ -218,7 +218,6 @@ const edgeStyle = computed(() => {
|
|||||||
<QuestIntro
|
<QuestIntro
|
||||||
:questTitle="opened.title"
|
:questTitle="opened.title"
|
||||||
:questId="opened.id"
|
:questId="opened.id"
|
||||||
:questCompleted="opened.completed"
|
|
||||||
:questUnlocked="opened.unlocked"
|
:questUnlocked="opened.unlocked"
|
||||||
v-if="opened.id !== ''"
|
v-if="opened.id !== ''"
|
||||||
@close-intro="closeIntro"
|
@close-intro="closeIntro"
|
||||||
|
|||||||
Reference in new issue
Block a user