liuyifan 5 年之前
父节点
当前提交
493a2569fc
共有 1 个文件被更改,包括 10 次插入1 次删除
  1. 10 1
      CallCenterWeb.UI/carouselManagement/js/carouselManagement.js

+ 10 - 1
CallCenterWeb.UI/carouselManagement/js/carouselManagement.js

@@ -221,4 +221,13 @@ function showPictures(id, name, path) {
221 221
         tab: function(pic, layero){
222 222
         }
223 223
     });
224
-}
224
+}
225
+
226
+//按enter搜索
227
+$('#pictureName').bind('keypress', function (event) {
228
+if (event.keyCode == "13") {
229
+        initTable();
230
+        return false;
231
+    }
232
+});
233
+