JQuery EasyUI datagrid url被POST调用,即使method=GET
我刚刚开始使用JQuery和easyui。datagrid控件看起来很棒,但是每次都会用POST调用我的URL,即使我正在将方法设置为GETJQuery EasyUI datagrid url被POST调用,即使method=GET,jquery,datagrid,Jquery,Datagrid,我刚刚开始使用JQuery和easyui。datagrid控件看起来很棒,但是每次都会用POST调用我的URL,即使我正在将方法设置为GET <table id="dg" title="Plan details" class="easyui-datagrid" style="width:550px;height:250px" url="/Plans" toolbar="#toolbar" method="GET" rownumbers="true" fit
<table id="dg" title="Plan details" class="easyui-datagrid" style="width:550px;height:250px"
url="/Plans"
toolbar="#toolbar"
method="GET"
rownumbers="true" fitColumns="true" singleSelect="true">
<thead>
<tr>
<th field="name" width="50">Name</th>
<th field="description" width="100">Description</th>
</tr>
</thead>
</table>
<div id="toolbar">
</div>
名称
描述
有人能帮我吗
科马克·基奥这里也有同样的问题
我通过添加:data options=“method:'get'”来解决这个问题