liuyifan %!s(int64=5) %!d(string=hace) años
padre
commit
493a2569fc
Se han modificado 1 ficheros con 10 adiciones y 1 borrados
  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
+