摘要:
创建恩智:city-search-logic 拉取到本地并切换分支: git pull git checkout city-search-logic 打开search.vue文件,先增加一个显示结果区域,并给input增加双向绑定: <template> <div> <div class="sear 阅读全文
摘要:
在城市列表页,我们想实现点击右侧的字母表,左侧城市列表会自动的滚动到对应的字母显示区域之中。 创建分支:city-components 拉取到本地并切换分支: git pull git checkout city-components 打开Alphabet.vue文件,给li添加一个点击事件: <l 阅读全文
摘要:
创建分支:city-ajax 拉取到本地并切换分支: git pull git checkout city-ajax 然后在City.vue文件中发起axios请求: import axios from 'axios' export default { data () { return { hotC 阅读全文