diff --git a/index.php b/index.php index 9c456ea..b4934d0 100644 --- a/index.php +++ b/index.php @@ -1023,7 +1023,7 @@ $packages_json = json_encode(array_map(function($package) { } // 在VIP客户中搜索匹配的手机号 - const matchedVIP = allVIPCustomers.find(vip => vip.phone.includes(phone)); + const matchedVIP = window.allVIPCustomers.find(vip => vip.phone.includes(phone)); if (matchedVIP) { // 显示VIP客户提示