mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +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,
|
||||
required: true,
|
||||
},
|
||||
questCompleted: {
|
||||
type: Boolean,
|
||||
required: true,
|
||||
},
|
||||
questUnlocked: {
|
||||
type: Boolean,
|
||||
required: true,
|
||||
@@ -27,7 +23,7 @@ const emit = defineEmits(['closeIntro'])
|
||||
const showIntro = ref(true) // Controls whether the modal is visible or not
|
||||
const router = useRouter()
|
||||
const toast = useToast()
|
||||
const { questTitle, questId, questCompleted, questUnlocked } = props
|
||||
const { questTitle, questId, questUnlocked } = props
|
||||
const questInstruction = ref('')
|
||||
const questColor = ref('')
|
||||
const questTextColor = ref('')
|
||||
|
||||
@@ -218,7 +218,6 @@ const edgeStyle = computed(() => {
|
||||
<QuestIntro
|
||||
:questTitle="opened.title"
|
||||
:questId="opened.id"
|
||||
:questCompleted="opened.completed"
|
||||
:questUnlocked="opened.unlocked"
|
||||
v-if="opened.id !== ''"
|
||||
@close-intro="closeIntro"
|
||||
|
||||
Reference in new issue
Block a user