diff --git a/ruoyi-ui/.env.development b/ruoyi-ui/.env.development index e0b83ce..eb9494b 100644 --- a/ruoyi-ui/.env.development +++ b/ruoyi-ui/.env.development @@ -5,7 +5,7 @@ VUE_APP_TITLE = 唐河县安全隐患及应急救援管理平台 ENV = 'development' # 若依管理系统/开发环境 -VUE_APP_BASE_API = '/dev-api' +VUE_APP_BASE_API = http://221.176.140.236:8082/ehs # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/ruoyi-ui/src/views/ehs/ehsNoticeMessage/index.vue b/ruoyi-ui/src/views/ehs/ehsNoticeMessage/index.vue index 30d3a01..a8c3480 100644 --- a/ruoyi-ui/src/views/ehs/ehsNoticeMessage/index.vue +++ b/ruoyi-ui/src/views/ehs/ehsNoticeMessage/index.vue @@ -138,7 +138,7 @@ - + @@ -170,7 +170,7 @@ small :page.sync="pageNum" :limit.sync="pageSize" - @pagination="getList1" + @pagination="handleListFile" :hide-on-single-page="true" :total="total1"> diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js index 570c35a..e609bce 100644 --- a/ruoyi-ui/vue.config.js +++ b/ruoyi-ui/vue.config.js @@ -35,8 +35,8 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://127.0.0.1:8082`, - //target: `http://221.176.140.236:8082`, + // target: `http://127.0.0.1:8082`, + target: `http://221.176.140.236:8082`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''