|
@@ -120,7 +120,7 @@ export default {
|
|
|
getDataDictionary(params, res => {
|
|
|
let arr = res.content.map(item => {
|
|
|
const category = ['ENUM', 'MENUM', 'BOOLEAN']
|
|
|
- if (item.category == 'STATIC' && item.dataType.includes(category) && item.dataSource) {
|
|
|
+ if (item.category == 'STATIC' && category.includes(item.dataType) && item.dataSource) {
|
|
|
item.options = item.dataSource
|
|
|
if (item.options[0]) {
|
|
|
item.props = {
|