Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 Alfresco 框架的新手。所以我想将值从 js 控制器传递给其他 js 控制器。我不知道如何通过。示例:workflow-form.js 中组名的值改为 sample-module.js。
请给我一个指示。提前谢谢。
如果你想在控制器之间传递变量,你应该像这样在模型中声明变量:
var newVar = document.properties.name; model.newVar = newVar;