迁移聊天图片上传事件绑定
This commit is contained in:
@@ -111,9 +111,8 @@ $welcomeMessages = [
|
||||
style="font-size: 11px; padding: 1px 6px; background: #2563eb; color: #fff; border: none; border-radius: 2px; cursor: pointer;">🎣
|
||||
钓鱼</button>
|
||||
|
||||
<input type="file" id="chat_image" name="image" accept="image/jpeg,image/png,image/gif,image/webp" style="display:none;"
|
||||
onchange="handleChatImageSelected(this)">
|
||||
<button type="button" onclick="document.getElementById('chat_image')?.click()"
|
||||
<input type="file" id="chat_image" name="image" accept="image/jpeg,image/png,image/gif,image/webp" style="display:none;">
|
||||
<button type="button" data-chat-image-upload-trigger
|
||||
style="font-size: 11px; padding: 1px 6px; background: #0f766e; color: #fff; border: none; border-radius: 2px; cursor: pointer;">
|
||||
📷 图片
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user