How vue-cli calls the contents of a specified json id

now you need to output content within the json range by specifying id, but you can"t get out of it anyway.

clipboard.png

json

{
  "msg": "ok",
  "dataTxt":[
    {
      "id":"1",
      "dataList":[
        {
          "title": "",
          "txt": ":1:   ;2:   :   1;  ........ ",
          "url":"/Category/List/1"
        },
        {
          "title": "",
          "txt": ":1:   ;2:   :   1;  ........ ",
          "url":"/Category/List/1"
        }
      ]
    }
  ]
}

v-show should be OK, but only Boolean should be supported here. Write it in axios and report an error.

Mar.21,2021

Please note that id in your template is lowercase , while id in json is uppercase , and id will not equal ID . Item.id is always undefind
id is equal, you only need to dynamically control cate_id to get the effect you want.

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-1b3a995-2b9a3.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-1b3a995-2b9a3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?