点击此处---> 群内免费提供SAP练习系统(在群公告中)
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
Iam使用splitapp创建主要细节,但iam很难带来预期的结果。 我已附上预期和实际结果快照
我提供了App,Master和Detail快照,这是我的路由代码
"路由":{"配置":{" routerClass":" sap.m.routing.Router"," viewPath":" com.exalca.basicBasic.view"," viewType":" XML"," controlId":" id_Root"," controlAggregation":"页面"," viewLevel":1}," targets":{" Page1":{" viewType":" XML"," transition":" slide"," clearAggregation ":true," viewName":" Page1"," viewLevel":1," controlId":" id_Root"," controlAggregation":" pages"}," Master":{" viewType":" XML","过渡 ":" slide"," clearAggregation":true," viewName":" Master"," viewLevel":2," controlAggregation":" masterPages"," controlId":" id_SplitApp"," parent":" splitview", " viewId":" master"}," Detail":{" viewType":" XML"," transition":" slide"," clearAggregation":true," viewName":" Detail"," viewLevel":3, " controlId":" id_SplitApp"," controlAggregation":" detailPages"," parent":" splitview"," viewId":" detail"}," splitview":{" viewName":" SplitApp"}},"路由 ":[{"名称":" Page1","模式":"","贪心":假,"目标":[" Page1"]},{"名称":"分割","模式": " Split"," greedy":否," target":[" Master"," Detail"]},{" name":" Detail"," pattern":" Detail/{contextPath}"," greedy": false," target":[" Master"," Detail"]},{" name":" Master"," pattern":" Master"," greedy":false," target":[" Master"]} ]
在此示例中,首先显示"详细信息","主"充当菜单。 在您的代码中,首先显示Page1,然后显示" Master"(第二),然后显示" Detail"(详细信息)。
Page1的用途是什么? 删除Page1,将" Detail"作为第一页
这是Master和Detail页面的错误顺序。 尝试按照我说的做,将"详细信息"设置为应用程序的默认页面,也称为第一页。
嗨,萨加尔,我在一段时间前就遇到了这个问题。 博客。.希望您能从中受益
https://博客。 sap.com/2017/01/09/7-tips-for-your-sapui5-mobile-app /
祝你好运!
sagar,请阅读博客,您将找到答案。
一周热门 更多>