Explorar o código

:lipstick: Updating the UI and style files.

冷冷 %!s(int64=6) %!d(string=hai) anos
pai
achega
6579eadddc

+ 10 - 2
.editorconfig

@@ -1,10 +1,18 @@
 root = true
 
-[*.{adoc,bat,groovy,html,java,js,jsp,kt,kts,md,properties,py,rb,sh,sql,svg,txt,xml,xsd}]
+[*.{adoc, bat, groovy, html, java, js, jsp, kt, kts, md, properties, py, rb, sh, sql, svg, txt, xml, xsd}]
 charset = utf-8
 
-[*.{groovy,java,kt,kts,xml,xsd}]
+[*.{groovy, java, kt, kts, xml, xsd}]
 indent_style = tab
 indent_size = 4
 continuation_indent_size = 8
 end_of_line = lf
+
+[*.{js, html}]
+charset = utf-8
+indent_style = space
+indent_size = 2
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true

+ 3 - 6
pigx-visual/pigx-codegen/src/main/resources/template/index.vue.vm

@@ -111,11 +111,9 @@
           confirmButtonText: '确定',
           cancelButtonText: '取消',
           type: 'warning'
-        })
-          .then(function() {
+        }).then(function() {
             return delObj(row.$pk.lowerAttrName)
-          })
-          .then(data => {
+          }).then(data => {
           _this.tableData.splice(index, 1)
           _this.$message({
             showClose: true,
@@ -123,8 +121,7 @@
             type: 'success'
           })
           this.getList(this.page)
-        })
-      .catch(function(err) { })
+        }).catch(function(err) { })
       },
       /**
        * @title 数据更新