From 4b730cc5b22a9d6879dbf0ff9c32c0141ba1eae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E5=B0=8F=E5=A2=A8?= <2291200076@qq.com> Date: Sat, 22 Oct 2022 22:37:41 +0800 Subject: [PATCH] =?UTF-8?q?CRLF=E6=94=B9=E4=B8=BALF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 15 ++++ backend/.idea/.gitignore | 16 ++-- database/epp.sql | 40 ++++----- frontend/src/components/SideBar.vue | 126 ++++++++++++++-------------- frontend/src/components/TopBar.vue | 60 ++++++------- frontend/src/main.js | 12 +-- frontend/src/views/NotFound.vue | 32 +++---- 7 files changed, 158 insertions(+), 143 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..a3396ea --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# vscode 请安装插件:CTRL+SHIFT+X 搜索 EditorConfig 并安装 +# http://editorconfig.org +root = true + +[*] +charset = utf-8 +indent_style = space +# indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +insert_final_newline = false +trim_trailing_whitespace = false diff --git a/backend/.idea/.gitignore b/backend/.idea/.gitignore index a7cdac7..35410ca 100644 --- a/backend/.idea/.gitignore +++ b/backend/.idea/.gitignore @@ -1,8 +1,8 @@ -# 默认忽略的文件 -/shelf/ -/workspace.xml -# 基于编辑器的 HTTP 客户端请求 -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/database/epp.sql b/database/epp.sql index bb5fbc9..70ecd3c 100644 --- a/database/epp.sql +++ b/database/epp.sql @@ -1,20 +1,20 @@ -/* - Navicat Premium Data Transfer - - Source Server : localhost MySQL 8.0 - Source Server Type : MySQL - Source Server Version : 80012 - Source Host : localhost:3306 - Source Schema : epp - - Target Server Type : MySQL - Target Server Version : 80012 - File Encoding : 65001 - - Date: 21/10/2022 01:13:14 -*/ - -SET NAMES utf8mb4; -SET FOREIGN_KEY_CHECKS = 0; - -SET FOREIGN_KEY_CHECKS = 1; +/* + Navicat Premium Data Transfer + + Source Server : localhost MySQL 8.0 + Source Server Type : MySQL + Source Server Version : 80012 + Source Host : localhost:3306 + Source Schema : epp + + Target Server Type : MySQL + Target Server Version : 80012 + File Encoding : 65001 + + Date: 21/10/2022 01:13:14 +*/ + +SET NAMES utf8mb4; +SET FOREIGN_KEY_CHECKS = 0; + +SET FOREIGN_KEY_CHECKS = 1; diff --git a/frontend/src/components/SideBar.vue b/frontend/src/components/SideBar.vue index bd5cb8c..7307e7e 100644 --- a/frontend/src/components/SideBar.vue +++ b/frontend/src/components/SideBar.vue @@ -1,63 +1,63 @@ - - - - - + + + + + diff --git a/frontend/src/components/TopBar.vue b/frontend/src/components/TopBar.vue index 037fc75..58a3088 100644 --- a/frontend/src/components/TopBar.vue +++ b/frontend/src/components/TopBar.vue @@ -1,30 +1,30 @@ - - - - - + + + + + diff --git a/frontend/src/main.js b/frontend/src/main.js index e075639..b184618 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -1,6 +1,6 @@ -import { createApp } from 'vue' -import App from './App.vue' -import router from './router' - -const app = createApp(App) -app.use(router).mount('#app') +import { createApp } from 'vue' +import App from './App.vue' +import router from './router' + +const app = createApp(App) +app.use(router).mount('#app') diff --git a/frontend/src/views/NotFound.vue b/frontend/src/views/NotFound.vue index 0f78f91..5be8035 100644 --- a/frontend/src/views/NotFound.vue +++ b/frontend/src/views/NotFound.vue @@ -1,16 +1,16 @@ - - - - - + + + + +