소스 검색

修复报表参数处理优化导致的bug

cfort 1 년 전
부모
커밋
fdf648bbce
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/business/platform/data/templaterender/templates/list.vue

+ 1 - 1
src/business/platform/data/templaterender/templates/list.vue

@@ -1021,7 +1021,7 @@ export default {
                 let src = ''
                 this.readonly = false
                 const { userId } = this.$store.getters || {}
-                const [path, ...rest] = button.reportPath.split('&') || []
+                const [path, ...rest] = button.reportPath?.split('&') || []
                 switch (buttonType) {
                     case 'search': // 查询
                         ActionUtils.setFirstPagination(this.pagination)