Sfoglia il codice sorgente

H5:商品下单点击扫码按钮去除默认事件

panyong 3 anni fa
parent
commit
f9b44f7645
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      htmldev/dashboard/src/views/sell/editTableNum/index.vue

+ 2 - 2
htmldev/dashboard/src/views/sell/editTableNum/index.vue

@@ -13,9 +13,9 @@
       <div class="input-type">
         <van-button
           type="default"
-          @click="handleScanQRCode">扫码桌号
+          @click.stop.prevent="handleScanQRCode">扫码获取
         </van-button>
-        <van-button class="active" type="default">手动输入</van-button>
+        <van-button class="active" type="default" @click.stop.prevent>手动输入</van-button>
       </div>
       <van-field
         v-model.trim="placeNum"