Ver Fonte

优化订单逻辑

max há 6 meses atrás
pai
commit
4321880213
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/views/cashier.vue

+ 1 - 0
src/views/cashier.vue

@@ -102,6 +102,7 @@ const order = ref({
 
 
 const getOrderInfo = async function () {
+  if(!orderNo) return
   const data = await getOrder({
     orderNo
   });