li.shaoyi 4 maanden geleden
bovenliggende
commit
6f87f510c6
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/packages/mobile/views/pricing/trade/v2/Index.vue

+ 1 - 1
src/packages/mobile/views/pricing/trade/v2/Index.vue

@@ -153,7 +153,7 @@ const orderTypeStepList = computed(() => {
 const orderType = shallowRef(orderTypeStepList.value.filter((e) => e.show)[0]?.value)
 
 // 商品信息
-const goodsList = shallowRef<Model.GoodsQuote[]>()
+const goodsList = shallowRef<Model.GoodsQuote[]>([])
 // 默认选择第一个全款下的第一个商品
 const goodsid = shallowRef(0)
 const quote = shallowRef<Model.GoodsQuote>()