Parcourir la source

修改表单类型大小写

zhaoke il y a 1 an
Parent
commit
79d2d37371
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/components/publicPageForm/index.vue

+ 1 - 1
src/components/publicPageForm/index.vue

@@ -117,7 +117,7 @@ export default {
     fromDataType () {
     fromDataType () {
       return function (type) {
       return function (type) {
         if (type) {
         if (type) {
-          return type.replace(/\([^\)]*\)/g, "");
+          return type.toLocaleUpperCase().replace(/\([^\)]*\)/g, "");
         }
         }
       }
       }
     },
     },