【fix ESLint】src/components/jero/JTreeTable
This commit is contained in:
@@ -128,7 +128,7 @@ export default {
|
|||||||
} else if (res.result.records instanceof Array) {
|
} else if (res.result.records instanceof Array) {
|
||||||
list = res.result.records
|
list = res.result.records
|
||||||
} else {
|
} else {
|
||||||
throw '返回数据类型不识别'
|
throw new Error('返回数据类型不识别')
|
||||||
}
|
}
|
||||||
const dataSource = list.map(item => {
|
const dataSource = list.map(item => {
|
||||||
// 判断是否标记了带有子级
|
// 判断是否标记了带有子级
|
||||||
|
|||||||
Reference in New Issue
Block a user