consumerm模块完成度90%,完善消费者和商家端数据库表,商品、聊天、订单数据对接好了supabase,和商家端对接了聊天功能,安卓端编译通过了css样式,剩余几个页面在处理函数规范问题

This commit is contained in:
cyh666666
2026-02-24 17:17:49 +08:00
parent e2f1dfb097
commit e606c597ca
174 changed files with 37917 additions and 4444 deletions

View File

@@ -179,7 +179,7 @@ export function setClipboard(text: string): void {
* @returns 格式化后的相对时间字符串
*/
export function formatTime(dateStr: string): string {
if (!dateStr) return ''
if (dateStr == '') return ''
try {
const date = new Date(dateStr)
const now = new Date()