debug: log all keys to find pointCode issue
This commit is contained in:
@@ -781,9 +781,11 @@ export function ReviewPointsList({
|
|||||||
* 过滤评查点
|
* 过滤评查点
|
||||||
* 根据搜索文本和状态过滤条件筛选评查点
|
* 根据搜索文本和状态过滤条件筛选评查点
|
||||||
*/
|
*/
|
||||||
// DEBUG: check pointCode
|
// DEBUG: check all keys on first reviewPoint
|
||||||
if (reviewPoints.length > 0) {
|
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 => {
|
const filteredReviewPoints = reviewPoints.filter(point => {
|
||||||
|
|||||||
Reference in New Issue
Block a user