From 43e8635e7fbfd1ac24a34ff5e6637e15f733cebd Mon Sep 17 00:00:00 2001
From: ChenZhaoYu <790348264@qq.com>
Date: Mon, 13 Feb 2023 19:09:34 +0800
Subject: [PATCH 1/2] chore: README.md
---
CONTRIBUTING.md | 26 ++++++++++++++++++++++++++
README.md | 16 +++++++++++-----
2 files changed, 37 insertions(+), 5 deletions(-)
create mode 100644 CONTRIBUTING.md
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..c85786e
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,26 @@
+# 指南
+
+## Commit 指南
+
+Commit messages 请遵循[conventional-changelog 标准](https://www.conventionalcommits.org/en/v1.0.0/):
+
+```bash
+<类型>[可选 范围]: <描述>
+
+[可选 正文]
+
+[可选 脚注]
+```
+
+### Commit 类型
+
+以下是 commit 类型列表:
+
+- feat: 新特性或功能
+- fix: 缺陷修复
+- docs: 文档更新
+- style: 代码风格或者组件样式更新
+- refactor: 代码重构,不引入新功能和缺陷修复
+- perf: 性能优化
+- test: 单元测试
+- chore: 其他不修改 src 或测试文件的提交
diff --git a/README.md b/README.md
index b0d809a..4ef6d84 100644
--- a/README.md
+++ b/README.md
@@ -4,14 +4,16 @@
![cover](./docs/cover-2.png)
-## Route Map
-[x] 多会话
+## 待实现路线
+[x] 多会话储存和上下文逻辑
-[x] 多语言
+[x] 对代码等消息类型的格式化美化处理
-[x] 主题
+[x] 用户模块(注册、登录、个人中心)
-[x] 用户模块
+[x] 界面多语言
+
+[x] 界面主题
[x] More...
@@ -89,6 +91,10 @@ pnpm build
```
### 常见问题
+Q: 为什么 `Git` 提交总是报错?
+
+A: 因为有提交信息验证,请遵循 [Commit 指南](./CONTRIBUTING.md)
+
Q: 如果只使用前端页面,在哪里改请求接口?
A: 根目录下 `.env` 文件中的 `VITE_GLOB_API_URL` 字段。
From 8bfbe6f7df6afb60d3fe91426cbe59a47e8dc205 Mon Sep 17 00:00:00 2001
From: ChenZhaoYu <790348264@qq.com>
Date: Mon, 13 Feb 2023 19:10:21 +0800
Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Chat/components/ListItem/index.vue | 52 -------------------
.../business/Chat/components/Message/Text.vue | 2 +-
2 files changed, 1 insertion(+), 53 deletions(-)
delete mode 100644 src/components/business/Chat/components/ListItem/index.vue
diff --git a/src/components/business/Chat/components/ListItem/index.vue b/src/components/business/Chat/components/ListItem/index.vue
deleted file mode 100644
index 23a473d..0000000
--- a/src/components/business/Chat/components/ListItem/index.vue
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
-
-
- {{ text }}
-
-
-
-
-
-
-
diff --git a/src/components/business/Chat/components/Message/Text.vue b/src/components/business/Chat/components/Message/Text.vue
index d04fa2c..95fa5b4 100644
--- a/src/components/business/Chat/components/Message/Text.vue
+++ b/src/components/business/Chat/components/Message/Text.vue
@@ -9,7 +9,7 @@ defineProps()
-
+