Skip to content

Commit

Permalink
chore: remove useless log
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Feb 4, 2024
1 parent 5e8079f commit 61aa7ab
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions composables/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ export const useAppStore = defineStore('app', () => {

const route = useRoute()
onMounted(() => {
if (route.query.couplets) {
console.log(decodeURIComponent(route.query.couplets as string))
if (route.query.couplets)
coupletsData.value = JSON.parse(decodeURIComponent(route.query.couplets as string))
console.log('coupletsData', coupletsData.value)
}
if (route.query.prompt)
prompt.value = decodeURIComponent(route.query.prompt as string)
})
Expand Down

0 comments on commit 61aa7ab

Please sign in to comment.