提交 74f1e65d 编写于 作者: 2 28569050@qq.com

postman接口导出,swgUI访问权限配置,bpmnjs表单输入消失bug修复

上级 4d9dd79c
......@@ -13,5 +13,8 @@ public class PathMapping implements WebMvcConfigurer {
//String[] resourceLocation = new String[]{"file:D:\\WangJianIDEA_Test\\activiti-imooc\\src\\main\\resources\\resources\\bpmn\\","classpath:/resources/"};
registry.addResourceHandler("/**").addResourceLocations("classpath:/resources/");//默认也有这个路径映射
registry.addResourceHandler("/bpmn/**").addResourceLocations(GlobalConfig.BPMN_PathMapping);
registry.addResourceHandler("swagger-ui.html").addResourceLocations("classpath:/META-INF/resources/");
registry.addResourceHandler("/webjars/**").addResourceLocations("classpath:/META-INF/resources/webjars/");
}
}
......@@ -287,18 +287,24 @@ module.exports = function(group, element, bpmnFactory, translate) {
}));
// [FormData] form field label text input field
group.entries.push(formFieldTextField({
group.entries.push(entryFactory.textField({
id: 'form-field-label',
label: translate('Label'),
modelProperty: 'label'
}, getSelectedFormField));
modelProperty: 'label',
hidden: function(element, node) {
return !getSelectedFormField(element, node);
}
}));
// [FormData] form field defaultValue text input field
group.entries.push(formFieldTextField({
group.entries.push(entryFactory.textField({
id: 'form-field-defaultValue',
label: translate('Default Value'),
modelProperty: 'defaultValue'
}, getSelectedFormField));
modelProperty: 'defaultValue',
hidden: function(element, node) {
return !getSelectedFormField(element, node);
}
}));
// [FormData] form field enum values label
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册