Procházet zdrojové kódy

fix: 修复购物车下单按钮的点击事件处理,确保正确调用下单函数

EvilDragon před 1 měsícem
rodič
revize
4d4873f98c

+ 1 - 1
packages/app/src/pages/home/mall/shopping-cart/index.vue

@@ -212,7 +212,7 @@ const handlePlaceOrder = async () => {
           </div>
           <div class="text-black text-base font-normal font-['PingFang_SC'] leading-5">积分</div>
         </div>
-        <div class="" @click="clickByPermission('mallExchange', () => handlePlaceOrder)">
+        <div class="" @click="clickByPermission('mallExchange', () => handlePlaceOrder())">
           <ButtonEvo>
             <div
               class="w-[65px] h-[22px] text-white text-base font-normal font-['PingFang_SC'] leading-tight"