fix: 修复前端所有页面的文字溢出问题
修复内容: 1. 文件列表 - 列表视图文件名溢出控制 2. 用户列表 - 用户名和邮箱溢出控制 3. 分享列表 - 文件路径和分享链接溢出控制 所有长文本现在都会正确显示省略号,不会导致UI布局异常 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
19
backend/check_expire.sql
Normal file
19
backend/check_expire.sql
Normal file
@@ -0,0 +1,19 @@
|
||||
SELECT
|
||||
share_code,
|
||||
substr(share_path, 1, 30) as path,
|
||||
created_at,
|
||||
expires_at,
|
||||
datetime('now') as current_time,
|
||||
CASE
|
||||
WHEN expires_at IS NULL THEN '永久有效'
|
||||
WHEN expires_at > datetime('now') THEN '未过期'
|
||||
ELSE '已过期'
|
||||
END as status,
|
||||
CASE
|
||||
WHEN expires_at IS NOT NULL AND expires_at > datetime('now') THEN '通过'
|
||||
WHEN expires_at IS NULL THEN '通过'
|
||||
ELSE '拦截'
|
||||
END as findByCode_result
|
||||
FROM shares
|
||||
ORDER BY created_at DESC
|
||||
LIMIT 10;
|
||||
Reference in New Issue
Block a user