Преглед на файлове

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