Skip to content

Commit

Permalink
fix: update review
Browse files Browse the repository at this point in the history
  • Loading branch information
James-9696 committed Mar 22, 2024
1 parent 82858c1 commit 5124a89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/vue/src/statistic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
*
*/
import Statistic from './src/index.js'
import Statistic from './src/index'
import '@opentiny/vue-theme/statistic/index.less'
import { version } from './package.json'

Expand Down
3 changes: 1 addition & 2 deletions packages/vue/src/statistic/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { PropType } from '@opentiny/vue-common'
import type { StyleValue } from 'vue'
import { $props, $prefix, $setup, defineComponent } from '@opentiny/vue-common'
import template from 'virtual-template?pc'

Expand Down Expand Up @@ -28,7 +27,7 @@ export const statisticProps = {
suffix: String,
title: [String, Object],
valueStyle: {
type: definePropType<StyleValue>([String, Object, Array])
type: [String, Object, Array]
},
groupSeparator: {
type: String,
Expand Down

0 comments on commit 5124a89

Please sign in to comment.