1.4.4:修复样式scoped的范围

master 1.4.4
yutent 2024-09-27 18:43:14 +08:00
parent dd8ff91294
commit 96b9554574
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ function scopeCss(css = '', hash) {
if (last.startsWith(':')) {
output = parseVDeep(last, output, true)
} else {
output = `${last} ${output}`
output = `${last}[data-${hash}] ${output}`
}
} else {
if (last.includes(':')) {

View File

@ -1,7 +1,7 @@
{
"name": "fite",
"type": "module",
"version": "1.4.3",
"version": "1.4.4",
"bin": {
"fite": "index.js"
},