From f222a1cd049576db62183f8d3b0f86076f043760 Mon Sep 17 00:00:00 2001 From: qiang Date: Thu, 6 May 2021 17:16:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20dateset=20=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E9=A9=BC=E5=B3=B0=E5=86=99=E6=B3=95=E6=97=B6=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=95=B0=E6=8D=AE=E6=A0=BC=E5=BC=8F=E4=B8=8D=E4=B8=80?= =?UTF-8?q?=E8=87=B4=E7=9A=84=E9=97=AE=E9=A2=98=20question/119034?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/helpers/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/helpers/index.js b/src/core/helpers/index.js index 0b013a236..257e6c483 100644 --- a/src/core/helpers/index.js +++ b/src/core/helpers/index.js @@ -45,7 +45,7 @@ export function getTargetDataset (target) { const $attrs = vm.$attrs for (const key in $attrs) { if (key.startsWith('data-')) { - const newKey = camelize(key.substr(5)) + const newKey = camelize(key.substr(5).toLowerCase()) const value = $attrs[key] dataset[newKey] = force ? value : dataset[newKey] || value } -- GitLab