我刚刚开始学习如何使用 angularjs 创建表单,并且在将其部署到 camunda 时遇到了一些问题。我正在尝试创建一个带有标签的表单。并包含我使用 ng-include 的其他 html 页面:
<div class="tab-content">
<div ng-switch = "main.active.tab">
<div ng-switch-when = 'persons'
ng-include = '"tabs/persons.html"'></div>
<div ng-switch-when = 'history'
ng-include = '"tabs/history.html"'></div>
<div ng-switch-when = 'deals'
ng-include = '"tabs/deals.html"'></div>
<div ng-switch-when = 'products'
ng-include = '"tabs/products.html"'></div>
</div>
</div>
但是当我将此表单部署到 camunda 时,出现错误:“404 Not Found - http://localhost:8080/camunda/app/tasklist/default/tabs/persons.html”。这就是为什么我想知道我应该如何编写目录以使 comunda 从我的应用程序目录上传 html 页面:“myapp/forms/tabs/persons.html”?
提前致谢