Who knows how this kind of data in json format came from?

is this format. Doesn"t an array subscript correspond to a value? how can it correspond to three values? the data on my side are spliced like this. There is no way of thinking below

.

here is my splicing code
const Str = []

  for (let j = 0; j < this.role_obj.length; jPP) {
    for (let i = 0; i < this.postForm.permissionList.length; iPP) {
      if (this.postForm.permissionList[i].match(this.role_obj[j])) {
        Str.push(this.postForm.permissionList[i].replace(this.role_obj[j], this.role_obj[j] + ":"))
      }
    }
  }
  console.info(Str)
  this.postForm.permissionList = []
  for (let i = 0; i < Str.length; iPP) {
    this.postForm.permissionList[i] = Str[i]
    console.info(this.postForm.permissionList[i])
  }
Jun.08,2021

when an array of objects needs to be serialized, a subscript corresponds to multiple values; of course, this format is also artificially agreed


form data, and then it has to be multi-dimensional like json, and there is indeed

in some projects.
Menu