diff --git a/README.md b/README.md index b9384cc..787c022 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,12 @@ After successfully installing NodeAlignPro, basic operations (for reference). ## 🐛 Frequently Asked Questions - - **Q: What if the plugin doesn't show up?** →A: Check if installed correctly in the custom_nodes directory, restart ComfyUI, check the browser console for errors. + - **Q: What if the plugin doesn't show up?** →A: Check if installed correctly in the custom_nodes directory, restart ComfyUI, check the browser console for errors. Advanced users can also enter the following command directly in the console: + ``` + // Clear NodeAlignPro plugin-related data and force a reload +clear();const keysToRemove = ['NodeAlignProPosition', 'NodeAlignProRunButtonLink'];keysToRemove.forEach(key => localStorage.removeItem(key));console.log('NodeAlignPro has been reloaded');window.location.reload(true); + ``` + - **Q: Colors cannot be applied to nodes?** →A: Ensure nodes are selected, check if nodes are locked, try refreshing the page. - **Q: Alignment function doesn't work?** →A: Ensure 2 or more nodes are selected, check node selection status, try clearing selection and reselecting. - **Q: How to reset all settings?** →A: Right-click menu → "One-click Reset", or clear browser localStorage. diff --git a/README_ZH.md b/README_ZH.md index f912dc6..d1e70d4 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -145,7 +145,13 @@ git fetch --all ## 🐛 常见问题 - - **Q: 插件不显示怎么办?** →A: 检查是否正确安装到custom_nodes目录,重启ComfyUI,查看浏览器控制台是否有错误。 + - **Q: 插件不显示怎么办?** →A: 检查是否正确安装到custom_nodes目录,重启ComfyUI,查看浏览器控制台是否有错误。进阶用户也可直接在控制台输入如下命令: + + ``` +// 清除NodeAlignPro插件相关数据并强制重载 +clear();const keysToRemove = ['NodeAlignProPosition', 'NodeAlignProRunButtonLink'];keysToRemove.forEach(key => localStorage.removeItem(key));console.log('NodeAlignPro已重载');window.location.reload(true); + ``` + - **Q: 颜色无法应用到节点?** →A: 确保已选中节点,检查节点是否处于锁定状态,尝试刷新页面。 - **Q: 对齐功能无效?** →A: 确保选中2个或更多节点,检查节点选择状态,尝试清除选择后重新选择。 - **Q: 如何重置所有设置?** →A: 右键菜单 → "一键重置",或清除浏览器localStorage。