This commit is contained in:
@@ -425,7 +425,7 @@ onMounted(bootstrap)
|
||||
<div><p>今天也慢慢来</p><h1>{{ activeName }}</h1></div>
|
||||
<label class="search"><Search/><input v-model="query" placeholder="搜索任务…" aria-label="搜索任务"><kbd>⌘ K</kbd></label>
|
||||
</header>
|
||||
<template v-if="['habits','settings','today','calendar'].includes(activeView)">
|
||||
<template v-if="['habits','settings','calendar'].includes(activeView)">
|
||||
<MvpPanel v-if="['habits','settings'].includes(activeView)" :key="activeView" :view="activeView as 'habits'|'settings'" @changed="refreshAll" @notice="toast" />
|
||||
<template v-else-if="activeView === 'calendar'">
|
||||
<header class="view-intro"><div><small>订阅外部日历,每天自动同步</small><h2>日历</h2></div><button class="soft-button" @click="loadCalendarTab"><RefreshCw />刷新</button></header>
|
||||
|
||||
Reference in New Issue
Block a user