瀏覽代碼

selectresource移除选中背景色功能

jqh 5 年之前
父節點
當前提交
b7be032b5d
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      resources/assets/dcat/extra/resource-selector.js
  2. 1 0
      resources/dist/dcat/extra/resource-selector.js

+ 1 - 0
resources/assets/dcat/extra/resource-selector.js

@@ -207,6 +207,7 @@
         }
 
         function unchecked($ckb) {
+            $ckb.parents('tr').css('background-color', '');
             $ckb.prop('checked', false);
         }
 

+ 1 - 0
resources/dist/dcat/extra/resource-selector.js

@@ -309,6 +309,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
     }
 
     function unchecked($ckb) {
+      $ckb.parents('tr').css('background-color', '');
       $ckb.prop('checked', false);
     } // 勾选默认选项