From 96b9554574fd4c9bdc7ac24df092a71f96c0e15e Mon Sep 17 00:00:00 2001 From: yutent Date: Fri, 27 Sep 2024 18:43:14 +0800 Subject: [PATCH] =?UTF-8?q?1.4.4:=E4=BF=AE=E5=A4=8D=E6=A0=B7=E5=BC=8Fscope?= =?UTF-8?q?d=E7=9A=84=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/compile-vue.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compile-vue.js b/lib/compile-vue.js index 999a154..629413d 100644 --- a/lib/compile-vue.js +++ b/lib/compile-vue.js @@ -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(':')) { diff --git a/package.json b/package.json index dbe676d..9f6bc42 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "fite", "type": "module", - "version": "1.4.3", + "version": "1.4.4", "bin": { "fite": "index.js" },