💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
# 声明式渲染-t04 >代码: ~~~ <template> <div id="app-4"> <ol> <li v-for="todo in todos"> {{ todo.text }} </li> </ol> </div> </template> <script> export default { data() { return { todos: [ { text: '学习 JavaScript' }, { text: '学习 Vue' }, { text: '整个牛项目' } ] } } } </script> ~~~ > 结果如图: ![](https://box.kancloud.cn/fb59370527302364ba82e54578a4e77c_332x143.png)