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({ export default defineComponent({
name: 'Trend', name: 'Trend',
props: { props: {
type: String as PropType<string>, type: {
describe: [String, Number] as PropType<string | number>, type: String as PropType<string>,
default: '',
},
describe: {
type: [String, Number] as PropType<string | number>,
default: '',
},
isReverseColor: Boolean as PropType<boolean>, isReverseColor: Boolean as PropType<boolean>,
}, },
setup(props) { setup(props) {