摘要: 天气查询包括回车查询和点击查询两种功能 回车查询 1.按下回车(v-on+.enter) 2.查询数据(axios+接口+v-model) 3.渲染数据(v-for+arr) 点击查询 1.点击城市查询(v-on+自定义参数) 2.查询数据(this.) 3.渲染数据(this.) <templat 阅读全文
posted @ 2020-02-01 10:38 SophialIana 阅读(792) 评论(0) 推荐(0) 编辑