瀏覽代碼

装箱单成衣保存按钮增加节流指令

jbb 2 年之前
父節點
當前提交
67367f5b0d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/packing-list/packinglist-clothes/clothesAddDrawer.vue

+ 1 - 1
src/views/packing-list/packinglist-clothes/clothesAddDrawer.vue

@@ -264,7 +264,7 @@
         <a-popconfirm title="确定放弃新增?" @confirm="handleCancel" okText="确定" cancelText="取消">
           <a-button :style="{ marginRight: '8px' }">取消</a-button>
         </a-popconfirm>
-        <a-button type="primary" @click="submitAdd">
+        <a-button type="primary" @click="submitAdd"  v-preventReClick="2000">
           保存
         </a-button>
       </div>