[update] 禅道bug
This commit is contained in:
@@ -454,6 +454,23 @@
|
||||
this.loading = true
|
||||
getAction(url, params).then((res) => {
|
||||
if (res.success) {
|
||||
// todo
|
||||
// console.log(res.result,'res.result')
|
||||
// let tt = []
|
||||
// this.dataSource = []
|
||||
// // 需要转化数据类型
|
||||
// tt = res.result
|
||||
// tt.forEach((Obj) => {
|
||||
// Object.keys(Obj).forEach((item) => {
|
||||
// if(Obj[item] instanceof Object && Obj[item].controlType !== undefined){
|
||||
// Obj[item].list.forEach((itemLi) => {
|
||||
// if(itemLi.type === 'pull_more'){
|
||||
// itemLi.dataValue = itemLi.dataValue === null ? [] : itemLi.dataValue.splice(',')
|
||||
// }
|
||||
// })
|
||||
// }
|
||||
// })
|
||||
// })
|
||||
this.dataSource = res.result
|
||||
this.total = res.result.total
|
||||
this.selectedRowKeys = []
|
||||
@@ -464,8 +481,6 @@
|
||||
})
|
||||
},
|
||||
onChange(page, pageSize) {
|
||||
// this.pageNo = page
|
||||
// this.getTableList()
|
||||
},
|
||||
onSelectChange(value, rowValue) {
|
||||
this.selectedRowKeys = value
|
||||
|
||||
Reference in New Issue
Block a user