Skip to content

Commit dc5e96f

Browse files
committed
feat(price): dynamic和harmony结构保持一致
1 parent 63ac053 commit dc5e96f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/price/price.taro.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export const Price: FunctionComponent<Partial<TaroPriceProps>> = (props) => {
166166

167167
return (
168168
<>
169-
{harmony() ? (
169+
{harmony() || process.env.TARO_ENV === 'dynamic' ? (
170170
<Text
171171
className={`${classPrefix} ${classPrefix}-${color} ${className}`}
172172
style={style}

0 commit comments

Comments
 (0)