|
239 | 239 | var pathKeys = StringUtil.split(pathUri, '/'); |
240 | 240 | var target = App.isMLEnabled ? JSONResponse.getStandardByPath(standardObj, pathKeys) : JSONResponse.getValByPath(standardObj, pathKeys); |
241 | 241 | var real = JSONResponse.getValByPath(responseObj, pathKeys); |
242 | | - var cmp = App.isMLEnabled ? JSONResponse.compareWithStandard(target, real, path) : JSONResponse.compareWithBefore(target, real, path); |
| 242 | + var cmp = App.isMLEnabled ? JSONResponse.compareWithStandard(target, real, pathUri) : JSONResponse.compareWithBefore(target, real, pathUri); |
243 | 243 | cmp.path = pathUri; |
244 | 244 | var cmpShowObj = JSONResponse.getCompareShowObj(cmp); |
245 | 245 | thiz[k] = [cmpShowObj.compareType, cmpShowObj.compareColor, cmpShowObj.compareMessage]; |
|
299 | 299 | var target = App.isMLEnabled ? JSONResponse.getStandardByPath(standardObj, pathKeys) : JSONResponse.getValByPath(standardObj, pathKeys); |
300 | 300 | var real = JSONResponse.getValByPath(responseObj, pathKeys); |
301 | 301 | // c = JSONResponse.compareWithBefore(target, real, path); |
302 | | - var cmp = App.isMLEnabled ? JSONResponse.compareWithStandard(target, real, path) : JSONResponse.compareWithBefore(target, real, path); |
| 302 | + var cmp = App.isMLEnabled ? JSONResponse.compareWithStandard(target, real, pathUri) : JSONResponse.compareWithBefore(target, real, pathUri); |
303 | 303 | cmp.path = pathUri; |
304 | 304 | var cmpShowObj = JSONResponse.getCompareShowObj(cmp); |
305 | 305 | thiz[k] = [cmpShowObj.compareType, cmpShowObj.compareColor, cmpShowObj.compareMessage]; |
|
0 commit comments