diff --git a/jero-web/public/api_address_config.js b/jero-web/public/api_address_config.js index 74ec003e0..a0f0cbb56 100644 --- a/jero-web/public/api_address_config.js +++ b/jero-web/public/api_address_config.js @@ -2,7 +2,7 @@ * 防止打包部署时路径被写死 */ window._CONFIG = {} -window._CONFIG['domianURL'] = '/jero-boot' // 路由转发 devServer +window._CONFIG['domianURL'] = 'http://localhost:8080/jero-boot' // 路由转发 devServer window._CONFIG['domianWebSocketURL'] = 'http://localhost:8080/jero-boot' // 单点登录地址 window._CONFIG['staticDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/download' diff --git a/jero-web/src/views/documentManage/library/docDetail/index.vue b/jero-web/src/views/documentManage/library/docDetail/index.vue index d1dfc147e..857d9a8b7 100644 --- a/jero-web/src/views/documentManage/library/docDetail/index.vue +++ b/jero-web/src/views/documentManage/library/docDetail/index.vue @@ -191,7 +191,7 @@ detailList: [], visible: false, confirmLoading: false, - downLoadFileUrl: window._CONFIG['domianURL'] + '/sys/common/pdf/viewFile', + downLoadFileUrl: window._CONFIG['domianURL'] + '/sys/common/download', loading: false, dataSource: [], pageNo: 1, diff --git a/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue b/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue index cd32243c6..3d18a8bc3 100644 --- a/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue +++ b/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue @@ -78,6 +78,7 @@ ref="table" size="middle" :loading="loading" + :pagination="false" :scroll="{x: true}" rowKey="id" :data-source="dataSource"