fix: 修复UserFeedback模型datetime导入

This commit is contained in:
甲辰生产 2026-04-08 17:22:41 +08:00
parent 441c8a5aa7
commit 655710555b
3 changed files with 3 additions and 7 deletions

View File

@ -1,4 +1,5 @@
# 数据库模型 - 使用字段编码 # 数据库模型 - 使用字段编码
from datetime import datetime
from sqlalchemy import Column, String, Float, Boolean, DateTime, Integer, Text, ForeignKey, Date, UniqueConstraint from sqlalchemy import Column, String, Float, Boolean, DateTime, Integer, Text, ForeignKey, Date, UniqueConstraint
from sqlalchemy.orm import relationship from sqlalchemy.orm import relationship
from sqlalchemy.sql import func from sqlalchemy.sql import func

View File

@ -4,7 +4,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<title>甲辰收藏 v1.2.50</title> <title>甲辰收藏 v1.2.63</title>
<!-- Favicon --> <!-- Favicon -->
<link rel="icon" type="image/png" href="/static/icons/favicon.png" /> <link rel="icon" type="image/png" href="/static/icons/favicon.png" />

View File

@ -580,9 +580,7 @@ export default function Info() {
<div style={{ color: '#fff', fontSize: '16px', fontWeight: '600', marginBottom: '12px' }}>📮 用户反馈</div> <div style={{ color: '#fff', fontSize: '16px', fontWeight: '600', marginBottom: '12px' }}>📮 用户反馈</div>
<FeedbackList /> <FeedbackList />
</div> </div>
) : ( ) : loading ? (
/* 发布列表 */
{loading ? (
<div style={{ color: '#9ca3af', textAlign: 'center', padding: '30px' }}>加载中...</div> <div style={{ color: '#9ca3af', textAlign: 'center', padding: '30px' }}>加载中...</div>
) : filteredList.length === 0 ? ( ) : filteredList.length === 0 ? (
<div style={{ color: '#9ca3af', textAlign: 'center', padding: '30px', fontSize: '14px' }}>暂无发布记录</div> <div style={{ color: '#9ca3af', textAlign: 'center', padding: '30px', fontSize: '14px' }}>暂无发布记录</div>
@ -696,6 +694,3 @@ export default function Info() {
</div> </div>
) )
} }