我在外部 .js 文件中编写以下行....
var myid=project_subtaskInstanceList[0].progress
我的 project_subtask控制器就像这样
def show(Project_subtask project_subtaskInstance) {
respond project_subtaskInstance
}
javascript发出错误
ReferenceError: project_subtaskInstanceList is not defined