From ae2d855c89ca722ac7309fdf1aa6ceed370e3b95 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期一, 11 十月 2021 20:22:30 +0800 Subject: [PATCH] 监控ui --- src/pages/shuohuangMonitorAnalyze/components/timeShortcut.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/timeShortcut.vue b/src/pages/shuohuangMonitorAnalyze/components/timeShortcut.vue index cabb2cd..56255f5 100644 --- a/src/pages/shuohuangMonitorAnalyze/components/timeShortcut.vue +++ b/src/pages/shuohuangMonitorAnalyze/components/timeShortcut.vue @@ -13,7 +13,13 @@ export default { data () { return { - actPicker: 'today', + //actPicker: 'today', + } + }, + props: { + actPicker:{ + type: String, + default: 'year' //鐜版彁渚涘彲閫夊弬鏁颁负锛歵oday week month year } }, watch: { @@ -68,6 +74,7 @@ <style lang="scss"> .time-shortcut { + margin-right: 62px; ul { display: flex; li { -- Gitblit v1.8.0