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(':')) { if (last.startsWith(':')) {
output = parseVDeep(last, output, true) output = parseVDeep(last, output, true)
} else { } else {
output = `${last} ${output}` output = `${last}[data-${hash}] ${output}`
} }
} else { } else {
if (last.includes(':')) { if (last.includes(':')) {

View File

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