소스 검색

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

jbb 3 년 전
부모
커밋
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>