cuiqian2004
5 天以前 310ab72840d7c7025273ac79363107a1f9e4bc8e
js/utils.js
@@ -8,24 +8,19 @@
      }
      return false
   },
   attrTypeIsNumber: function(type) {
      if (attrTypeIsInt(type) || attrTypeIsFloat(type)) {
         return true
      }
      return false
   },
   attrTypeIsFloat: function(type) {
      if (type == '浮点数' ||  type == 'float') {
         return true
      }
      return false
   },
   attrTypeIsInt: function(type) {
      if (type == '整数' || type == 'int') {
         return true
      }
      return false
   },
   attrTypeIsFloat: function(type) {
      if (type == '浮点数' ||  type == 'float') {
         return true
      }
      return false
   },
   attrTypeIsDict: function(type) {
      if (type == '字典' || type == '字典-字符串' || type == '字典-整数' || type == 'dict' || type == 'dict-char' ||
         type == 'dict-int') {