chore(websocket): 已经初步实现服务器端按照流式请求反馈信息的功能
This commit is contained in:
@@ -2192,6 +2192,8 @@ function log_write(string $message, string $level = 'info', string $filename = '
|
||||
// 可以根据需要记录异常信息
|
||||
}
|
||||
}
|
||||
|
||||
// echo '日志位置:' . $logFile . "\n";
|
||||
|
||||
// 写入文件
|
||||
file_put_contents($logFile, $content, $flags);
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user