diff --git a/src/admin/templets/ai_prompt_view.htm b/src/admin/templets/ai_prompt_view.htm index c98725bc..519cbc19 100644 --- a/src/admin/templets/ai_prompt_view.htm +++ b/src/admin/templets/ai_prompt_view.htm @@ -101,7 +101,7 @@ $("#btnAI").prop("disabled", false); eventSource.close(); }; - //监听特定事件"close" + //监听特定事件close eventSource.addEventListener('close', (event) => { console.log('SSE connection closed:', event.data); $("#btnAI").prop("disabled", false); diff --git a/src/admin/templets/article_add.htm b/src/admin/templets/article_add.htm index d6537495..7c2530d9 100644 --- a/src/admin/templets/article_add.htm +++ b/src/admin/templets/article_add.htm @@ -386,7 +386,7 @@ $("#btnAI").prop("disabled", false); eventSource.close(); }; - //监听特定事件"close" + //监听特定事件close eventSource.addEventListener('close', (event) => { console.log('SSE connection closed:', event.data); $("#btnAI").prop("disabled", false); diff --git a/src/admin/templets/catalog_add.htm b/src/admin/templets/catalog_add.htm index a653cbdc..901eda02 100644 --- a/src/admin/templets/catalog_add.htm +++ b/src/admin/templets/catalog_add.htm @@ -525,7 +525,7 @@ $("#btnAI").prop("disabled", false); eventSource.close(); }; - //监听特定事件"close" + //监听特定事件close eventSource.addEventListener('close', (event) => { console.log('SSE connection closed:', event.data); $("#btnAI").prop("disabled", false); diff --git a/src/admin/templets/catalog_add_quick.htm b/src/admin/templets/catalog_add_quick.htm index 714288b2..8dfe30cf 100644 --- a/src/admin/templets/catalog_add_quick.htm +++ b/src/admin/templets/catalog_add_quick.htm @@ -393,7 +393,7 @@ $("#btnAI").prop("disabled", false); eventSource.close(); }; - //监听特定事件"close" + //监听特定事件close eventSource.addEventListener('close', (event) => { console.log('SSE connection closed:', event.data); $("#btnAI").prop("disabled", false); diff --git a/src/admin/templets/catalog_edit.htm b/src/admin/templets/catalog_edit.htm index 8598cf8a..895efdcc 100644 --- a/src/admin/templets/catalog_edit.htm +++ b/src/admin/templets/catalog_edit.htm @@ -556,7 +556,7 @@ $("#btnAI").prop("disabled", false); eventSource.close(); }; - //监听特定事件"close" + //监听特定事件close eventSource.addEventListener('close', (event) => { console.log('SSE connection closed:', event.data); $("#btnAI").prop("disabled", false); diff --git a/src/admin/templets/tags_main.htm b/src/admin/templets/tags_main.htm index b855e7c4..c4ba64b5 100644 --- a/src/admin/templets/tags_main.htm +++ b/src/admin/templets/tags_main.htm @@ -42,6 +42,10 @@