Die Antwort online besagt, dass es daran liegt, dass Easy-UI den Klassenstil in der unteren Version löschen und URL in JavaScript schreiben sollte. Wenn es im Unterricht URL gibt, gibt es auch eine URL in JavaScript, die die Seite zweimal aktualisiert, aber mein Problem wurde nach dem Test nicht gelöst. Später fand ich das Problem schließlich durch wiederholte Tests.
<ul id = "eva" style = "Schriftgröße: 25px;"> </ul>
Da ich Stil auf der Seite geschrieben habe, kann das Löschen des Stils im Stil das Problem lösen. Jetzt füge ich den vollständigen Ajax Dynamic Tree and Grid Table Code hinzu.
<html> <Head> <titels> Baum </title> <link href = "../../ content/jqeasyui/themes/default/easyui.css" rel = "stylesheet" type = "text/CSS"/> <link href = "../ .... Jqeasyui/icon.con.css" rel = "stylesheasy/themes/icon.con.cses" styleshet "/jqeasyui/themes/icon.con.cses" stileshet "/styleshets/themes/icon. src = "../../ scripts/jQuery-1.4.4.min.js" type = "text/javaScript"> </script> <script src = "../../ scripts/jquery.unoBtusive-ajax.js" type = "text/javascript"> </script. type = "text/javaScript"> </script> <script src = "../../ scripts/easyui-lang-zh_cn.js" type = "text/javaScript"> </script> <script type = "text/javascript"> var nodetext; var Zeit; var treeva; $ (function () {unendable (); $ ("#selectForm"). CSS ("Anzeige", "keine"); BindSearchEclick (); //Initialize the table function initTable() { $('#tt').datagrid({ url: '/OEE/Details', title: 'OEE', width: 700, height: 360, fitColumns: true, idField: 'Fid', loadMsg: 'The information about the device is loading...', pagination: true, singleSelect: false, pageSize: 10, pageNumber: 1, Pagelist: [10, 20, 30], Queryparams: {// Der Parameter, der in Noderesult: Nodetext, SelectTime: $ ('#selectime') übergeben wird. align: "center" }, { field: 'Name', title: 'DelTimeOEE', title: 'Name', width: 80, align: "center" }, { field: 'EarlyTimeOEE', title: 'EarlyTimeOEE', width: 80, align: "center" }, { field: 'MiddleTimeOEE', title: 'Noon OEE', width: 80, align: "center" }, { Feld: 'Latertimeoee', Titel: 'Night Timeoee', Width: 80, Align: "Center"}, {Feld: 'Delflag', Titel: 'Operation', Width: 80, Align: 'Center', Formatter: Funktion (Wert, Zeile, Index) {var str = "<a fid = ' + row.fid +" klassifiziert ". href = 'JavaScript: void (0)'> Details </a> "; return str; }}]], onheaderContextMenu: Funktion (e, field) {}, onloadSuccess: function (data) {$ (". SelectInfo"). Unbind ("Click"); $ (". SELECTInFO"). BIND ("Click", function () {doSelect ($ (this) .attr ("fid"), Zeit); reta false;}); }}); } function doselect (fid, time) {var reg = new Regexp ("-", "g"); var strobj = fid.toString (); var newsstr = strobj.replace (reg, "$"); $ ('#SelectFrame'). Attr ('src', '/oee/getSelectInfo/' + fid + '/' + time); $ ('#SelectForm'). CSS ('Anzeige', 'Block'); $('#SelectForm').dialog({ width: 470, height: 470, modal: true, title: "Show details", collapse: true, minimal: true, maximizable: true, resizable: true, buttons: [{ id: 'btnSelect', text: 'OK', iconCls: 'icon-add', handler: function () { $ ("#SelectForm"). Dialog ("Close"); } // Binden Sie das Klickenereignis der Suchabfrage -Funktion bindSearchEclick () {// linkButtOnsearch $ ("#linkButtOnsearch"). Click (function () {var nodes = $ ('#eva'). Tree ('getChecked'); var s = '; += Knoten [i] .Id; } </script> </head> <body> <div> <div> <div> <div> <div style = "margin: 23px 0;"> </div> <div style = "padding: 5px; Border-Radius: 5px; id="SelectTime" /> <a id="linkButtonSearch" href="javascript:void(0)" data-options="iconCls:'icon-search'"> Query</a> </div> <table id="tt" iconcls="icon-edit"> </table> <div id="SelectForm"> <iframe id="SelectFrame" Src = "JavaScript: void (0)" Frameborder = "0"> </iframe> </div> </div> </div> </div> </body> </html>