config_event 事件添加多语言切换时间间隔配置 #1
Labels
No Label
area/smartpanel
bug
done-waiting-confirmed
kind/feature
page/admin
page/simplepage
page/tab-admin
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: smartoilets-front/projects#1
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
前端将根据该字段实现特定时间间隔切换多语言文案的效果.
https://smartoilets.net/tab/home/twsc/4A/male 这个页面已经实现了多语言切换的效果, 确认一下这个时间间隔的值是如何获取的? 如果是前端本地写死的值,那么应该将该值作为默认值,然后添加一个 从 config_event 事件获取配置值的逻辑.
另外,以前 config_event 有一个 refreshI18NConfig 的字段, 这个字段也迁移到了 i18n 这个 key下,统一管理, 需要将之前的逻辑迭代一下, 改为使用 i18n.refreshI18NConfig
已修改