提交 3f89a059 编写于 作者: NoSubject's avatar NoSubject

Merge branch 'fix/script_readonly' into 'wrdp'

修复this.form.readonly获取不正确的问题

See merge request o2oa/o2oa!4366
......@@ -3145,6 +3145,11 @@ MWF.xScript.Environment = function(ev){
});
}
};
Object.defineProperty(this.form, "readonly", {
get: function(){ return _form.options.readonly; }
});
/**
* 在用户提交的时候,选择的路由。仅在表单的“校验意见”和“校验路由”脚本中可用。只读。<b>(仅流程表单中可用)</b>。
* @member currentRouteName
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册