Record yourself stepped pit it was written vue Day 4
sceneData: [ {"id": 1,title:"场景1", "gif_info":{"file":""}, "scene":[{"aeid":"1-1","content":"your text 1","source":""},{"aeid":"1-2","source":""},{"aeid":"1-3","source":""}], }, { "id": 2, title: "场景2", "gif_info": {"file": ""}, "scene": [{"aeid": "2-1", "content": "your text 2", "source": ""}], }, { "id": 3, title: "场景3", "gif_info": {"file": ""}, "scene": [{"aeid": "3-1", "content": "your text 3", "source": ""}], }, { "id": 4, title: "场景4", "gif_info": {"file": ""}, "scene": [{"aeid": "4-1", "content": "your text 4", "source": ""}], }, { "id": 5, title: "场景5", "gif_info": {"file": ""}, "scene": [{"aeid": "5-1", "content": "your text 5", "source": ""}], }, { "id": 6, title: "场景6", "gif_info": {"file": ""}, "scene": [{"aeid": "6-1", "content": "your text 6", "source": ""}], }, { "id": 7, title: "场景7", "gif_info": {"file": ""}, "scene": [{"aeid": "7-1", "content": "your text 7", "source": ""}], } ],
Such a data value
It requires two sets up a v-for a long time and then fiddle
Do not tangle in the index because it has been entangled in the index can not understand why it is so.