fix: 修复 chatAreaEl 重复声明报错
This commit is contained in:
@@ -7,8 +7,6 @@ import { state, KEYS } from '../state.js';
|
|||||||
import { marked } from '../marked-config.js';
|
import { marked } from '../marked-config.js';
|
||||||
import { escapeHtml, formatTime, downloadFile } from '../utils.js';
|
import { escapeHtml, formatTime, downloadFile } from '../utils.js';
|
||||||
|
|
||||||
let chatAreaEl, messagesContainerEl, emptyStateEl;
|
|
||||||
|
|
||||||
/** 根据文件名返回合适的图标 */
|
/** 根据文件名返回合适的图标 */
|
||||||
function getFileIcon(filename) {
|
function getFileIcon(filename) {
|
||||||
const name = filename.toLowerCase();
|
const name = filename.toLowerCase();
|
||||||
|
|||||||
Reference in New Issue
Block a user