diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..c5f454b --- /dev/null +++ b/.prettierrc @@ -0,0 +1,6 @@ +{ + "tabWidth": 4, + "singleQuote": true, + "trailingComma": "none", + "printWidth": 140 +} \ No newline at end of file diff --git a/package.json b/package.json index 895b961..50fe0fc 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "dependencies": { "axios": "^0.18.0", "babel-polyfill": "^6.26.0", - "element-ui": "^2.9.2", + "element-ui": "^2.11.0", "mavon-editor": "^2.6.17", "vue": "^2.6.10", "vue-cropperjs": "^3.0.0", @@ -25,4 +25,4 @@ "@vue/cli-service": "^3.2.0", "vue-template-compiler": "^2.5.21" } -} +} \ No newline at end of file diff --git a/src/assets/css/main.css b/src/assets/css/main.css index 40bc1ac..cb71802 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -56,6 +56,10 @@ a { margin: 10px 0; } +.el-table th { + background-color: #f5f7fa !important; +} + .pagination { margin: 20px 0; text-align: right; @@ -170,4 +174,4 @@ a { .v-note-wrapper .v-note-panel { min-height: 500px; -} +} \ No newline at end of file diff --git a/src/components/page/BaseForm.vue b/src/components/page/BaseForm.vue index 4a726d1..9beb0dd 100644 --- a/src/components/page/BaseForm.vue +++ b/src/components/page/BaseForm.vue @@ -2,7 +2,9 @@
Tips : 用户名和密码随便填。