fix: 修正VIP客户搜索中未定义变量的问题

This commit is contained in:
2025-11-19 16:27:04 +08:00
parent 5f31fb40a7
commit 92175f66a6
+1 -1
View File
@@ -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客户提示