From 14d3aa9cc4217fffeb714bc85308ac2c78912b64 Mon Sep 17 00:00:00 2001 From: yoimiya-kokomi <592981798@qq.com> Date: Sun, 1 May 2022 05:16:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3#=E9=9B=B7=E7=A5=9E=E4=BC=A4?= =?UTF-8?q?=E5=AE=B3=20=E5=8A=9F=E8=83=BD=E4=B8=8B=E6=AD=A6=E5=99=A8Buff?= =?UTF-8?q?=E7=9A=84=E4=B8=80=E5=A4=84=E5=B1=95=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Calc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/Calc.js b/components/Calc.js index ca5cced0..16cbd370 100644 --- a/components/Calc.js +++ b/components/Calc.js @@ -265,7 +265,9 @@ let Calc = { } lodash.forEach(weaponCfg, (ds) => { - ds.title = `${weaponName}效果:${ds.title}`; + if (!/:/.test(ds.title)) { + ds.title = `${weaponName}效果:${ds.title}`; + } if (ds.refine) { ds.data = ds.data || {}; lodash.forEach(ds.refine, (r, key) => {