Skip to content

Commit

Permalink
自定义js支持特殊符号
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry committed May 7, 2024
1 parent d4750c6 commit 680d468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ useHead({
],
style: [
{
textContent: userinfo.value?.css || '',
innerHTML: userinfo.value?.css || '',
}
],
script: [
{
type: 'text/javascript',
textContent: userinfo.value?.js || '',
innerHTML: userinfo.value?.js || '',
}
]
})
Expand Down

0 comments on commit 680d468

Please sign in to comment.