After one cycle of data processing, it stops.

* fetch ({payload}, {call, put}) {

        const response = yield call(querySignal, payload);
        console.log("res", response.data[0].signal)
        for (let i=0; i<response.data.length; iPP) {
            for (let j=0; j<response.data[i].signal.length; jPP) {
                const variety1 = response.data[i].signal[j][1]
                const variety2 = response.data[i].signal[j+1][1]
                if (variety1 == "[] " && variety2 == "[] " ||
                    variety1 == "[] " && variety2 == "[] "){
                      const signal = []
                      response.data[i].signal[j]=
                          signal.concat(" ",response.data[i].signal[j][0],"--",
                        response.data[i].signal[j+1][0]," ")
                      response.data[i].signal.splice(j+1, 1)
                console.log("response", response)
                }
            }
        }
        yield put({
            type: "save",
            payload: response,
        });
    },

after processing, only one piece of data has been processed successfully, and the other data has not changed. What is this all about?

Mar.24,2021

remove the two data definitions: const variety1 = response.data [I] .Secretj, const variety2 = response.data [I] .Secretj + 1, and you can use them directly

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b314ba-2bd74.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b314ba-2bd74.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?