feat: update trend component

This commit is contained in:
pengYYYYY 2021-10-21 11:10:27 +08:00
parent 6a6e3637a8
commit 1afc638fb6

View File

@ -49,8 +49,14 @@ import { defineComponent, computed, PropType } from 'vue';
export default defineComponent({
name: 'Trend',
props: {
type: String as PropType<string>,
describe: [String, Number] as PropType<string | number>,
type: {
type: String as PropType<string>,
default: '',
},
describe: {
type: [String, Number] as PropType<string | number>,
default: '',
},
isReverseColor: Boolean as PropType<boolean>,
},
setup(props) {