|
@@ -34,6 +34,7 @@ function ajax(longRange) {
|
|
|
if (longRange.noJY) {
|
|
|
if (
|
|
|
longRange.errorKey &&
|
|
|
+ longRange.errorKey in res &&
|
|
|
res[longRange.errorKey] !== longRange.success
|
|
|
) {
|
|
|
errorStatus(res);
|
|
@@ -79,9 +80,11 @@ function fetch(longRange) {
|
|
|
.then(res => {
|
|
|
!longRange.noload && loading.close();
|
|
|
|
|
|
+ console.log(longRange.errorKey, res);
|
|
|
if (longRange.noJY) {
|
|
|
if (
|
|
|
longRange.errorKey &&
|
|
|
+ longRange.errorKey in res &&
|
|
|
res[longRange.errorKey] !== longRange.success
|
|
|
) {
|
|
|
errorStatus(res);
|