|
var docNodeList = this.comp("docNodeList");
var filter = "SA_DocNode='C77916267DE00001E1D3158010826560'";
docNodeList.setFilter("filter", filter);
docNodeList.refreshData();
var docPath = docNodeList.getValue("sDocPath");
var filename = docNodeList.getValue("sDocName");
var fileID = docNodeList.getValue("sFileID");
DocUtils.InnerUtils.browseDocByFileID(docPath, filename, fileID, "last", "content", 'OpenOffice', false, this.getContext());
错误如下:
Cannot read property 'getCurrentRow' of null
[url=]隐藏详细[/url]
TypeError: Cannot read property 'getCurrentRow' of null at s.extend._createRefreshParam (http://localhost:8080/x5/UI2/v_526162c18a844de4aaaa9fd21c923d19l_zh_CNs_desktopd_pc/system/biz.common.min.js:12:59855) at s.extend._doRefreshData (http://localhost:8080/x5/UI2/v_526162c18a844de4aaaa9fd21c923d19l_zh_CNs_desktopd_pc/system/biz.common.min.js:12:61200) at s.extend.doRefreshData (http://localhost:8080/x5/UI2/v_526162c18a844de4aaaa9fd21c923d19l_zh_CNs_desktopd_pc/system/biz.common.min.js:12:59210) at null.<anonymous> (http://localhost:8080/x5/UI2/v_442f732710b44c449b283a5f6f04dec0l_zh_CNs_desktopd_pc/system/common.min.js:15:45759) at justep.ModelComponent.extend._refreshData (http://localhost:8080/x5/UI2/v_442f732710b44c449b283a5f6f04dec0l_zh_CNs_desktopd_pc/system/common.min.js:15:46151) at justep.ModelComponent.extend.refreshData (http://localhost:8080/x5/UI2/v_442f732710b44c449b283a5f6f04dec0l_zh_CNs_desktopd_pc/system/common.min.js:15:44700) at Model.sopBtn (http://localhost:8080/x5/UI2/v_865b373207464aa1a557677aab86c71cl_zh_CNs_desktopd_pc/lab/sample/process/sampleSeparation/mainActivity.js:223:15) at r.extend.fire (http://localhost:8080/x5/UI2/v_e86da44fc6504eadbd8e6dc12e556e26l_zh_CNs_desktopd_pc/system/core.min.js:71:236440) at r.extend.fireEvent (http://localhost:8080/x5/UI2/v_e86da44fc6504eadbd8e6dc12e556e26l_zh_CNs_desktopd_pc/system/core.min.js:71:237604) at n.callParent (http://localhost:8080/x5/UI2/v_e86da44fc6504eadbd8e6dc12e556e26l_zh_CNs_desktopd_pc/system/core.min.js:71:233879)
|
|