feat: 实现跨端引用回复协议,新增 QuoteBar 组件支持消息引用

本次提交实现了与 iOS 对齐的跨端消息引用协议,新增 QuoteBar 组件用于渲染引用消息栏,重构发送逻辑支持文本和媒体消息的引用功能。主要改动包括:
- 新增 reply.ts 处理引用数据的构建和解析
- 新增 QuoteBar 组件渲染引用消息预览
- 重构发送逻辑,将引用快照放入消息头部而非内容
- 调整代理配置指向本地开发环境
- 优化消息操作权限,支持名片和媒体消息引用
This commit is contained in:
Austin
2026-09-23 20:40:47 +08:00
parent fb92f4f703
commit a8d3504424
8 changed files with 452 additions and 38 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ export default defineConfig({
// straight to the tenant's real host regardless (confirmed working this way throughout the old
// app's development too).
proxy: {
'/v1/im': { target: 'https://api.118im.com', changeOrigin: true, secure: true },
'/v0/file': { target: 'https://api.118im.com', changeOrigin: true, secure: true },
'/v1/im': { target: 'http://127.0.0.1:6060', changeOrigin: true, secure: false },
'/v0/file': { target: 'http://127.0.0.1:6060', changeOrigin: true, secure: false },
},
},
})