فهرست منبع

修改表单类型大小写

zhaoke 1 سال پیش
والد
کامیت
79d2d37371
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/components/publicPageForm/index.vue

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

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