Просмотр исходного кода

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

cfort 1 год назад
Родитель
Сommit
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)