Commit 19cf1ebd authored by liwei's avatar liwei

修改了页面

parent 58e79085
......@@ -295,6 +295,7 @@ export default {
getList() {
this.loading = true
list(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
if (response.rows !== undefined){
this.list = response.rows.map(item => {
const title = item.title
if (title) {
......@@ -308,6 +309,7 @@ export default {
}
return item
})
}
this.total = response.total
this.loading = false
}
......
......@@ -340,6 +340,7 @@ export default {
getList() {
this.loading = true
list(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
if (response.rows !== undefined) {
this.list = response.rows.map(item => {
const title = item.title
if (title) {
......@@ -353,6 +354,7 @@ export default {
}
return item
})
}
this.total = response.total
this.loading = false
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment