From f6caf2b0a4502f2ba888b58a88ff7c7e409e40d0 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期日, 31 七月 2022 15:05:05 +0800 Subject: [PATCH] 将put修改为post --- 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