mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-23 04:06:31 +08:00
feat: update trend component
This commit is contained in:
parent
6a6e3637a8
commit
1afc638fb6
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user