Skip to content

feat(template): 修复在切换模板语言后,模板选择器不响应式更新 #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Su-u-un
Copy link
Contributor

@Su-u-un Su-u-un commented Jun 26, 2025

问题描述

  1. 在模板管理器,对语言进行切换后,点击关闭按钮,关闭模板管理器的弹窗,发现模板选择器没有响应式更新(如果是点击遮罩层不会出现此bug,因为点击遮罩层把模板选择器也手动关闭了)
  2. 同时模板选择器选中的模板名也没有更新。
    CPT2506261035-696x300

相关修复

  • 在关闭模板管理后,对模板选择器的模板列表进行更新
  • 在模板选择器中,对展示的模板进行更新

未修复问题

模板选择器中模板的描述词过长,会导致组件宽度超出外部容器,内容被截断。暂时未找到好的方式修复

- 在关闭模板管理后,对模板选择器的模板列表进行更新
- 在模板选择器中,对展示的模板进行更新
Copy link

vercel bot commented Jun 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
prompt-optimizer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 2:40am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant