【bug】解决fenToYuan工具类导入错误的问题

pull/554/head
痴货 2024-09-16 08:05:10 +08:00
parent d613af350f
commit 444ca49661
1 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@
class="text-12px" class="text-12px"
:style="{ color: property.fields.price.color }" :style="{ color: property.fields.price.color }"
> >
{{ fenToYuan(spu.price) }} {{ fenToYuan(spu.price as number) }}
</span> </span>
</div> </div>
</div> </div>
@ -65,7 +65,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { ProductListProperty } from './config' import { ProductListProperty } from './config'
import * as ProductSpuApi from '@/api/mall/product/spu' import * as ProductSpuApi from '@/api/mall/product/spu'
import { fenToYuan } from './index' import { fenToYuan } from '@/utils'
/** 商品栏 */ /** 商品栏 */
defineOptions({ name: 'ProductList' }) defineOptions({ name: 'ProductList' })