From fa7044f3ccc9a91bc2bc117d1a06f650d86554f2 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期二, 15 六月 2021 16:07:16 +0800 Subject: [PATCH] 优化联动规则加载场景列表的操作 --- 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..0aa24ee 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: 'today' //鐜版彁渚涘彲閫夊弬鏁颁负锛歵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