debug: log all keys to find pointCode issue

This commit is contained in:
2026-03-23 20:28:21 +08:00
parent 38a43133c0
commit ca1cc23c99
+4 -2
View File
@@ -781,9 +781,11 @@ export function ReviewPointsList({
* 过滤评查点
* 根据搜索文本和状态过滤条件筛选评查点
*/
// DEBUG: check pointCode
// DEBUG: check all keys on first reviewPoint
if (reviewPoints.length > 0) {
console.log('[DEBUG pointCode]', reviewPoints[0].pointName, 'pointCode:', reviewPoints[0].pointCode, 'keys:', Object.keys(reviewPoints[0]).filter(k => k.includes('ode') || k.includes('Code')));
console.log('[DEBUG] ALL KEYS:', Object.keys(reviewPoints[0]));
console.log('[DEBUG] pointCode:', reviewPoints[0].pointCode);
console.log('[DEBUG] full object sample:', JSON.stringify(reviewPoints[0]).substring(0, 500));
}
const filteredReviewPoints = reviewPoints.filter(point => {