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的引入。

原文地址:https://www.cnblogs.com/rojas/p/8426065.html