From 5124a89d03d51a42a32cfadb6787186f0a432fd1 Mon Sep 17 00:00:00 2001 From: James-9696 Date: Fri, 22 Mar 2024 00:09:20 -0700 Subject: [PATCH] fix: update review --- packages/vue/src/statistic/index.ts | 2 +- packages/vue/src/statistic/src/index.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/vue/src/statistic/index.ts b/packages/vue/src/statistic/index.ts index 4772ba68d5..c98829b3f2 100644 --- a/packages/vue/src/statistic/index.ts +++ b/packages/vue/src/statistic/index.ts @@ -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' diff --git a/packages/vue/src/statistic/src/index.ts b/packages/vue/src/statistic/src/index.ts index 489e0112a8..fe53422a4e 100644 --- a/packages/vue/src/statistic/src/index.ts +++ b/packages/vue/src/statistic/src/index.ts @@ -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' @@ -28,7 +27,7 @@ export const statisticProps = { suffix: String, title: [String, Object], valueStyle: { - type: definePropType([String, Object, Array]) + type: [String, Object, Array] }, groupSeparator: { type: String,