|
@@ -99,7 +99,7 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
- parents.unshift({ fullName: '顶级分类', id: 0 })
|
|
|
+ // parents.unshift({ fullName: '顶级分类', id: 0 })
|
|
|
this.categoryList = parents
|
|
|
})
|
|
|
this.activeStep = 0
|
|
@@ -172,9 +172,9 @@ export default {
|
|
|
getDbSource() {
|
|
|
reportdatasourceList().then((res) => {
|
|
|
let list = res.data.data
|
|
|
- if (list && list.length){
|
|
|
+ if (list && list.length) {
|
|
|
this.datasourceList = list.filter((i) => i.dsTypeSyl === 'mysql')
|
|
|
- }else {
|
|
|
+ } else {
|
|
|
this.datasourceList = []
|
|
|
}
|
|
|
})
|