Ver código fonte

fix(cockpit): 缩短历史筛选提示避免换行

ChenJZ 15 horas atrás
pai
commit
960bfaa839

+ 1 - 1
src/modules/cockpit/components/WarningResponsePane.vue

@@ -34,7 +34,7 @@
         <div v-if="['historyAnalysis', 'eventAnalysis'].includes(props.panelId) && historyFilter.code" class="warning-response-pane__filter" role="status" data-history-type-filter>
             <span class="warning-response-pane__filter-kicker">类型筛选</span>
             <b class="warning-response-pane__filter-name">{{ historyFilter.label || historyFilter.code }}</b>
-            <small class="warning-response-pane__filter-scope">{{ props.panelId === 'historyAnalysis' ? '向下滚动查看已筛选历史事件' : '已应用到历史分析' }}</small>
+            <small class="warning-response-pane__filter-scope">{{ props.panelId === 'historyAnalysis' ? '向下查看已筛选事件' : '已应用到历史分析' }}</small>
             <button type="button" class="warning-response-pane__filter-clear" @click="clearHistoryFilter">清除筛选</button>
         </div>
         <PanelBlocks v-if="view" :key="`${panelId}-${eventStore.mode}-${eventStore.range}`" :class="{ 'is-updating': eventStore.loading }" :view="view" @list-page="onListPage" @card-action="onCardAction" @panel-action="onPanelAction" />