diff --git a/src/components/trend/index.vue b/src/components/trend/index.vue index cc5e5e4..6ec879b 100644 --- a/src/components/trend/index.vue +++ b/src/components/trend/index.vue @@ -49,8 +49,14 @@ import { defineComponent, computed, PropType } from 'vue'; export default defineComponent({ name: 'Trend', props: { - type: String as PropType, - describe: [String, Number] as PropType, + type: { + type: String as PropType, + default: '', + }, + describe: { + type: [String, Number] as PropType, + default: '', + }, isReverseColor: Boolean as PropType, }, setup(props) {