chore(websocket): 已经初步实现服务器端按照流式请求反馈信息的功能

This commit is contained in:
2026-01-20 15:03:53 +08:00
parent e6929aa1f5
commit 05b80040f6
9 changed files with 752 additions and 315 deletions

View File

@@ -2192,6 +2192,8 @@ function log_write(string $message, string $level = 'info', string $filename = '
// 可以根据需要记录异常信息
}
}
// echo '日志位置:' . $logFile . "\n";
// 写入文件
file_put_contents($logFile, $content, $flags);

View File

@@ -483,7 +483,7 @@ Vue.component("wechat_channel-edit", {
initSortable: function () {
// 检查Sortable库是否已加载
if (typeof Sortable !== 'undefined') {
const videoList = document.getElementById('videoListEdit');
const videoList = this.$el.querySelector('.video-list-edit');
if (videoList) {
// 销毁现有实例
if (this.sortableInstance) {