ai_co_discuss 0.2.28 → 0.2.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app.js +2 -0
package/package.json
CHANGED
package/web/app.js
CHANGED
|
@@ -2981,11 +2981,13 @@ async function execute_view_action(name, value) {
|
|
|
2981
2981
|
prepare_brainstorm, return_conclusion, convert_suggestion,
|
|
2982
2982
|
busy: () => { throw new Error("上一个操作仍在处理中,请稍候;长时间无响应请刷新页面"); },
|
|
2983
2983
|
copy_reading: () => copy_text(`${location.origin}/r/${state.room.id}`), copy: copy_text };
|
|
2984
|
+
if (!["refresh", "busy"].includes(name)) state.free_error = "";
|
|
2984
2985
|
try {
|
|
2985
2986
|
await actions[name](value);
|
|
2986
2987
|
return true;
|
|
2987
2988
|
} catch (error) {
|
|
2988
2989
|
if (["download_member_access", "copy_member_join"].includes(name)) state.access_error = error.message;
|
|
2990
|
+
else if (!state.free_error) state.free_error = error.message;
|
|
2989
2991
|
show_toast(error.message, true);
|
|
2990
2992
|
return false;
|
|
2991
2993
|
} finally { publish_view(); }
|