Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Sep 3, 2024
1 parent dd75a31 commit 339162e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fixtures/basic/pages/bundle-use-script.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const scriptSrc = ref('https://code.jquery.com/jquery-3.6.0.min.js')
$script.then(async () => {
const head = injectHead()
const tags = await head.resolveTags()
scriptSrc.value = tags[0].props.src
scriptSrc.value = tags.filter(s => s.tag === 'script')[0].props.src
})
myScript('test')
Expand Down

0 comments on commit 339162e

Please sign in to comment.