From 710bb456149365dc12a46a4429e7d842f0b185b2 Mon Sep 17 00:00:00 2001 From: testadmin Date: Thu, 14 May 2026 11:15:02 +0800 Subject: [PATCH] fix: handle.js syntax error causing niuniu dealer page crash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Line 1953: `ctb.{strokeStyle = "#ff2202";}` → `ctb.strokeStyle = "#ff2202";` This typo from Dragon 7 bead road styling broke the entire JS parser - Bump VERSION_V to v10.0.9 to force browser cache refresh --- app/common.php | 2 +- public/static/handle/js/handle.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common.php b/app/common.php index df55d0b..ee81690 100644 --- a/app/common.php +++ b/app/common.php @@ -3,7 +3,7 @@ //应用公共文件 // 版本号 -define('VERSION_V','?ver=v10.0.8'); +define('VERSION_V','?ver=v10.0.9'); // 强制加载中文语言包 \think\facade\Lang::load(__DIR__ . '/lang/zh-cn.php'); diff --git a/public/static/handle/js/handle.js b/public/static/handle/js/handle.js index 23c4a64..aa9e7f2 100644 --- a/public/static/handle/js/handle.js +++ b/public/static/handle/js/handle.js @@ -1950,7 +1950,7 @@ function SoloPath(ctb,unit,x,y,type,corners,luck_six,dragon_seven,panda_eight){ } else if(game_id==1 && dragon_seven > 0){ var color='#b8860b'; var fonts="7"; - ctb.{strokeStyle = "#ff2202";} + ctb.strokeStyle = "#ff2202"; ctb.lineWidth = 3; } else if(game_id==1 && panda_eight > 0){ var color='#34495e';