多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
[toc] ### 1. 实现搜索框搜索功能 ``` <Input class="ml-auto" style="width: 200px;" search enter-button placeholder="请输入关键词..." @on-search="search"/> search(e){ if(e == ''){ return this.getData() } this.axios.get('/api/file/search?keyword=' + e,{ token:true }).then(res=>{ let list = this.formatList(res.data.rows) this.list = list }) } ```