Layui click the query page, the page does not refresh Solution

Layui click the query page, the page does not refresh Solution

    function queryDataGrid () { 
        layui.table.reload (tableName, { 
            WHERE: { // extra parameter setting of asynchronous data interfaces, arbitrarily set 
                columnName:. layui $ ( "# columnName" ) .val (), 
                columnValue: layui. $ ( "#columnValue" ) .val (), 
                queryStr: "" , 
                State:. layui $ ( "INPUT [type = 'Radio']: the checked" ) .val () 
            } 
         , Page: { Curr:
             . 1  // restarts from page 1 
         } 
        });

 

Guess you like

Origin www.cnblogs.com/youmingkuang/p/11448149.html