??QueryTableModel.prototype.creatTable?=?function(
????on)?{
????var?that?=?this;
????var?indexWidth?=?'40px';
????if?(this.tableModel?&&?this.tableModel.indexWidth)?{
??????indexWidth?=?this.tableModel.indexWidth;
????}
????//默認(rèn)初次初始化查詢
????this.firstQuery?=?true;
????if?(typeof?on?!=?'undefined')?{
??????this.firstQuery?=?on;
????}這個(gè)on僅僅值得是boolean類型的值嗎?如果是那這樣的關(guān)鍵字為什么能進(jìn)行傳參呢?不是有on這個(gè)方法嗎?
javascript中的on問題
qq_小樹_6
2017-09-19 15:13:33