diff --git a/kicc-ui/.eslintrc.js b/kicc-ui/.eslintrc.js
index deabb9cd..a7d562b4 100644
--- a/kicc-ui/.eslintrc.js
+++ b/kicc-ui/.eslintrc.js
@@ -58,24 +58,40 @@ module.exports = defineConfig({
'vue/custom-event-name-casing': 'off',
'vue/attributes-order': 'off',
'vue/one-component-per-file': 'off',
- 'vue/html-closing-bracket-newline': 'off',
'vue/max-attributes-per-line': 'off',
'vue/multiline-html-element-content-newline': 'off',
'vue/singleline-html-element-content-newline': 'off',
'vue/attribute-hyphenation': 'off',
'vue/require-default-prop': 'off',
- 'vue/html-self-closing': [
- 'error',
- {
- html: {
- void: 'always',
- normal: 'never',
- component: 'always',
- },
- svg: 'always',
- math: 'always',
+ 'vue/html-end-tags': 'error',
+ 'vue/html-quotes': [ 'error', 'double', { 'avoidEscape': false } ],
+ 'vue/no-multi-spaces': ['error', { 'ignoreProperties': false }],
+ 'vue/html-closing-bracket-newline': ['error', {
+ 'singleline': 'never',
+ 'multiline': 'always'
+ }],
+ 'vue/html-indent': ['error', 2, {
+ 'attribute': 1,
+ 'baseIndent': 1,
+ 'closeBracket': 0,
+ 'alignAttributesVertically': true,
+ 'ignores': []
+ }],
+ 'vue/html-self-closing': ['error', {
+ 'html': {
+ 'void': 'never',
+ 'normal': 'always',
+ 'component': 'always'
},
- ],
- 'vue/html-quotes': [ 'error', 'double', { 'avoidEscape': false } ]
- },
+ 'svg': 'always',
+ 'math': 'always'
+ }],
+ 'vue/max-attributes-per-line': ['error', {
+ 'singleline': 3,
+ 'multiline': {
+ 'max': 1,
+ 'allowFirstLine': true
+ }
+ }],
+ }
});
diff --git a/kicc-ui/src/views/system/dict/DictModal.vue b/kicc-ui/src/views/system/dict/DictModal.vue
index 6d1af805..88bc3337 100644
--- a/kicc-ui/src/views/system/dict/DictModal.vue
+++ b/kicc-ui/src/views/system/dict/DictModal.vue
@@ -1,13 +1,12 @@
-
-
+