Manifest里的那点事。
今天一打开FIORI 应用,没有任何反应了。什么情况,赶紧打开开发者工具,哇塞,报了个这么奇奇怪怪的问题:
Failed to load UI5 component for navigation intent #Test-url - f is not a constructor
TypeError: f is not a constructor
于是一脑袋问号,f in not a constructor。这个f是啥呀???
于是呼拼命回忆,我干了什么f的事。最后想起之前在manifest里删了sap.f的预加载,只剩下sap.m在里面了。
这个sap.f没加载,但是我在controller里也没调用呀。是哪的问题?
原来呀,在manifest里,我使用sap.f.routing.router做为了routerClass.
于是乖乖的加回
现在APP运行正常了。