Infinite update loop in a component render function.

question: infinite loop
Code: `
< el-table

      :data="tableData"
      stripe
      style="width: 100%"
      @cell-click="editBtn"
      :row-style="getCellClass"
    >

.

      .then(function (resObj) {
          var oextendKeyValueObj = resObj.data.resultObj
         //for
            for (let key in oextendKeyValueObj) {
              let oInAttrTable = {
                attrKey: key,
                attrValue : oextendKeyValueObj[key]
              }
              newAttrTable.push(oInAttrTable)
            }
            _this.tableData = newAttrTable
          }
        }
      })
      `
      :
      

clipboard.png

try to re-assign the value, raise the Vue to the highest version, but it doesn"t work. Please help me

.

problem description

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Feb.10,2022
Menu