Parcourir la source

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

cfort il y a 1 an
Parent
commit
fdf648bbce
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 = ''
                 let src = ''
                 this.readonly = false
                 this.readonly = false
                 const { userId } = this.$store.getters || {}
                 const { userId } = this.$store.getters || {}
-                const [path, ...rest] = button.reportPath.split('&') || []
+                const [path, ...rest] = button.reportPath?.split('&') || []
                 switch (buttonType) {
                 switch (buttonType) {
                     case 'search': // 查询
                     case 'search': // 查询
                         ActionUtils.setFirstPagination(this.pagination)
                         ActionUtils.setFirstPagination(this.pagination)