haojianlong 4 năm trước cách đây
mục cha
commit
5fd6d96581
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/ready/buildfloor/formItems.vue

+ 1 - 1
src/components/ready/buildfloor/formItems.vue

@@ -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 = {