src/pages/shuohuangMonitorAnalyze/components/timeShortcut.vue
@@ -13,7 +13,13 @@ export default { data () { return { actPicker: 'today', //actPicker: 'today', } }, props: { actPicker:{ type: String, default: 'today' //现提供可选参数为:today week month year } }, watch: { @@ -68,6 +74,7 @@ <style lang="scss"> .time-shortcut { margin-right: 62px; ul { display: flex; li {