修复动态表单列表为空时的报错

master
Guo XIn 1 year ago
parent 2fa694c6d9
commit 6f9dc40696
  1. 1
      shandan-basedata/src/main/java/com/keyware/shandan/dynacmicform/controller/DynamicDataController.java

@ -105,6 +105,7 @@ public class DynamicDataController {
@GetMapping("/view/data/list/")
public ModelAndView dataListView(ModelAndView mav) {
mav.addObject("formInfo", new FormInfoPo());
mav.addObject("preview", false);
mav.setViewName("dynamicData/dataList");
return mav;
}