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

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

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