EXTJSの開発では、キーボード操作中にこれらのショートカットキーを誤って押しているユーザーによる入力情報の欠落などの問題を回避するために、いくつかのキーボードキーをブロックする必要があります。
Ext.Onready(function(){ext.windowmgr.zseed = 10000; ext.quicktips.init(); ext.getDoc()。 document。 if(obj!= null && obj.tagname!= null &&(obj.tagname.tolowercase()== "input" || obj.tolowercase()== "textarea"){event.returnvalue = true; (windo.event)returnvalue = false.keycode = 0 else.// ff}} [116]、// f5 fn:function(){}、stopevent:true、scope:this}、{key:[37,39,115]、//左と右、f4 alt:true、fn:function(){}、stopevent:true、scope:this}、{key:[82]、ctrl + r ctrl function(){}、Stopevent:this}];IE8でF5を使用することは禁止されているため、コードを追加する必要があります。
<body onkeydown = "if(event.keycode == 116){event.keycode = 0; return false;}">