vue项目搜索历史功能的实现
摘要:播放器项目中歌曲搜素页面的 首先需要在state定义搜索历史,在其中保存搜索历史 state.js:// 搜索历史: searchHistory: [] mutations中新增改变搜索历史的方法 mutations.js:SET_SEARCH_HISTORY(state, history) { s
阅读全文
posted @ 2020-06-08 16:06
posted @ 2020-06-08 16:06