Explorar o código

Merge remote-tracking branch 'origin/master' into master

zhangweixin %!s(int64=4) %!d(string=hai) anos
pai
achega
c641ef7beb
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  1. 2 4
      docs/.vuepress/components/TableDesig.vue

+ 2 - 4
docs/.vuepress/components/TableDesig.vue

@@ -44,10 +44,8 @@ export default {
   components: {},
   components: {},
   created: function() {
   created: function() {
     this.getData();
     this.getData();
-    // this.getUrlData();
   },
   },
   mounted: function() {
   mounted: function() {
-    // alert(this.schema);
   },
   },
   props: ["sys", "schema", "table"],
   props: ["sys", "schema", "table"],
   computed: {},
   computed: {},
@@ -112,6 +110,7 @@ open class ${table} : BaseInfo(),Comparator<${table}> {
       strBuild.append(`} // Class ${table}`);
       strBuild.append(`} // Class ${table}`);
       this.download(`${table}.kt`, strBuild.toString());
       this.download(`${table}.kt`, strBuild.toString());
     },
     },
+
     //生成接口类
     //生成接口类
     genControler() {
     genControler() {
       this.getUrlData();
       this.getUrlData();
@@ -222,7 +221,6 @@ open class ${className} {
     } // Function count()
     } // Function count()
     `);
     `);
       strBuild.append(`} // Class ${className}`);
       strBuild.append(`} // Class ${className}`);
-      console.log("className", className);
       //   this.download(`${className}.kt`, strBuild.toString());
       //   this.download(`${className}.kt`, strBuild.toString());
     },
     },
     // 数据包类型到实体类的转换
     // 数据包类型到实体类的转换
@@ -246,7 +244,7 @@ open class ${className} {
         return "String";
         return "String";
       }
       }
     },
     },
-    //转驼峰
+    //转驼峰
     toHump(str) {
     toHump(str) {
       var arr = str.split("_");
       var arr = str.split("_");
       for (var i = 0; i < arr.length; i++) {
       for (var i = 0; i < arr.length; i++) {