diff --git a/themes/common.js b/themes/common.js index ade4da98..11d5909a 100644 --- a/themes/common.js +++ b/themes/common.js @@ -1694,7 +1694,7 @@ function close_current_pop_up_plugin(){ // 生成高级插件的选择菜单 plugin_init_info_lib = {} function register_plugin_init(key, base64String){ - console.log('x') + // console.log('x') const stringData = atob(base64String); let guiJsonData = JSON.parse(stringData); if (key in plugin_init_info_lib) diff --git a/themes/theme.py b/themes/theme.py index 3dc6732d..e0417871 100644 --- a/themes/theme.py +++ b/themes/theme.py @@ -114,6 +114,8 @@ js_code_for_persistent_cookie_init = """(web_cookie_cache, cookie) => { # 详见 themes/common.js js_code_reset = """ (a,b,c)=>{ + let stopButton = document.getElementById("elem_stop"); + stopButton.click(); return reset_conversation(a,b); } """