bugfix: sql指定数据库 (#45)

This commit is contained in:
hhhhsc701
2025-10-31 10:41:19 +08:00
committed by GitHub
parent a600c1d793
commit d0bac68d3f
2 changed files with 6 additions and 4 deletions

View File

@@ -281,11 +281,11 @@ export default function WelcomePage() {
<div className="text-center"> <div className="text-center">
<span <span
onClick={() => navigate("/chat")} onClick={handleChatClick}
className="cursor-pointer rounded px-4 py-2 inline-flex items-center bg-gradient-to-r from-purple-600 to-pink-600 hover:from-purple-700 hover:to-pink-700 text-white shadow-lg" className="cursor-pointer rounded px-4 py-2 inline-flex items-center bg-gradient-to-r from-purple-600 to-pink-600 hover:from-purple-700 hover:to-pink-700 text-white shadow-lg"
> >
<MessageSquare className="mr-2 w-4 h-4" /> <MessageSquare className="mr-2 w-4 h-4" />
{isChecking ? '检查中...' : '开始对话'}
</span> </span>
</div> </div>
</div> </div>

View File

@@ -1,3 +1,5 @@
use datamate;
CREATE TABLE t_dm_annotation_templates ( CREATE TABLE t_dm_annotation_templates (
id VARCHAR(36) PRIMARY KEY, id VARCHAR(36) PRIMARY KEY,
name VARCHAR(32) NOT NULL COMMENT '模板名称', name VARCHAR(32) NOT NULL COMMENT '模板名称',