fix(plan/ui): correct screenshot extension and align bot ext_info guard with backend

This commit is contained in:
2026-07-15 14:06:39 +08:00
parent 1378649fc7
commit f108465d4f
2 changed files with 2 additions and 1 deletions

View File

@@ -289,6 +289,7 @@ function resetDrawerForm() {
function parseBotExtInfo(extInfo: string | undefined): string { function parseBotExtInfo(extInfo: string | undefined): string {
if (!extInfo) return '' if (!extInfo) return ''
if (!extInfo.trim().startsWith('{')) return extInfo
try { try {
const parsed = JSON.parse(extInfo) const parsed = JSON.parse(extInfo)
if (parsed && typeof parsed === 'object' && parsed.webhook_url) { if (parsed && typeof parsed === 'object' && parsed.webhook_url) {

View File

@@ -224,7 +224,7 @@ If binding fails with "账号渠道类型与会话不一致" or similar, check `
- [ ] **Step 1: 进入消息测试页面** - [ ] **Step 1: 进入消息测试页面**
Navigate to `http://localhost:5177/message/test`. Navigate to `http://localhost:5177/message/test`.
Take screenshot: `admin-web/screenshots/06-message-test.png` Take screenshot: `admin-web/screenshots/06-message-test.jpeg`
- [ ] **Step 2: 选择内部群目标** - [ ] **Step 2: 选择内部群目标**