From 91ec3156aef91112fc3f6c608ee88ceca88d32c4 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期一, 01 三月 2021 15:13:23 +0800 Subject: [PATCH] 朔黄时间快捷选择组件添加配置默认选项功能 --- src/pages/shuohuangMonitorAnalyze/components/timeShortcut.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/timeShortcut.vue b/src/pages/shuohuangMonitorAnalyze/components/timeShortcut.vue index cabb2cd..9d3c697 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: { -- Gitblit v1.8.0