提交 b96bb8fe authored 作者: lihuihui's avatar lihuihui

fix: 修改搜索

上级 22aca2e5
...@@ -83,11 +83,12 @@ export default { ...@@ -83,11 +83,12 @@ export default {
return val[n] return val[n]
}, },
searchList() { searchList() {
this.getMsgTempList({ search_str: this.input }) this.getMsgTempList()
}, },
getMsgTempList(params) { getMsgTempList(params = {}) {
const result = Object.assign(params, { search_str: this.input })
api api
.getSmsRecordList(params) .getSmsRecordList(result)
.then(response => { .then(response => {
this.tableData = response.data.items this.tableData = response.data.items
this.totals = response.data.total this.totals = response.data.total
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论