瀏覽代碼

prevent refresh page after loading collection on collections page

ruiyi.jiang 2 年之前
父節點
當前提交
c5a6d0e106
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/src/pages/collections/Collections.tsx

+ 1 - 0
client/src/pages/collections/Collections.tsx

@@ -453,6 +453,7 @@ const Collections = () => {
                 ? handleLoad
                 : handleRelease;
             handleAction(row, cb);
+            e.preventDefault();
           },
           icon: 'load',
           label: 'load',