搜尋

首頁  >  問答  >  主體

多維數組如何在視圖中渲染

[5] => array(3) {    ["id"] => int(5)    ["title"] => string(24) "接地電阻測試設備"    ["chanping"] = > array(5) {      [0] => array(2) {        ["fid"] => int(5)        ["title"] => int(5)        ["title"] => int(5)        ["title"] =>; }      [1] => array(2) {        ["fid"] => int(5)        ["title"] => = 21) "接地電阻測試器" arra  (2) {        ["fid"] => int(5)        ["title"] => string(27) "鉗形接地電阻測試器"     }       2  = fid"] => int(5)        ["title"] => string(39) "水內冷發電機絕緣電阻測試儀"      }      [4] => array(2) { array(2) {    => int(5)        ["title"] => string(39) "水內冷發電機絕緣電阻測試器"      }    }  }

无稽之憳无稽之憳1720 天前1106

全部回覆(2)我來回復

  • 无稽之憳

    无稽之憳2020-06-08 09:20:19

    這是後段組裝好的數據,這是多維數組,如何渲染出來

    回覆
    0
  • WJ

    WJ2020-06-08 09:15:39

    後端$this->assign()前端用<volist>

    回覆
    0
  • 取消回覆