fix(tongji): 恢复居家训练并统一识糖入口

This commit is contained in:
大哥大哥的大哥哥
2026-07-18 11:30:54 +08:00
parent d57e60539e
commit 8a6890767e
7 changed files with 13 additions and 35 deletions
@@ -186,16 +186,8 @@ const inlineItems = computed(() => {
return metro ? [metro, ...rest] : trainingItems
})
const isDevMode = (): boolean => {
/* HBuilderX 工程:发行(release)模式下 NODE_ENV === 'production' */
try {
return process.env.NODE_ENV !== 'production'
} catch (_) {
return false
}
}
const visible = ref(isDevMode())
// 居家耗糖训练是正式功能,开发版和发行版都需要展示。
const visible = ref(true)
const expanded = ref(false)
const toggle = () => {