【更新】更新代码生成界面小细节,同时改进stable表格组件

pull/56/head
小诺 2 years ago committed by 俞宝山
parent 44a68be040
commit c5e9ad95f1

@ -228,7 +228,15 @@
this.localPagination = false
}
//
this.localDataSource = r.records
if (this.showPagination === false) {
//
this.localDataSource = []
if (r instanceof Array) {
this.localDataSource = r
}
} else {
this.localDataSource = r.records
}
this.localLoading = false
})
}

@ -262,7 +262,9 @@
const traverse = (array) => {
array.forEach((element) => {
if (element.menuType === 'CATALOG') {
traverse(element.children)
if (element.children) {
traverse(element.children)
}
} else {
//
element.disabled = true

Loading…
Cancel
Save