Uncaught TypeError: undefined is not a function

index.html 

<script src="resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.ui.commons,sap.ui.table"
data-sap-ui-theme="sap_bluecrystal">
</script>

在用 var mtable=new sap.ui.table.Table('mtable',{title:'testtable'}); 时提示 “Uncaught TypeError: undefined is not a function”

原因缺少了 对 sap.ui.table的引入。

 

posted on 2018-02-07 12:58  rojas  阅读(534)  评论(0编辑  收藏  举报