فهرست منبع

修复报表参数处理优化导致的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)