diff --git a/.env.production b/.env.production index 65e471c..e719648 100644 --- a/.env.production +++ b/.env.production @@ -2,6 +2,6 @@ ENV = 'production' # 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置 # 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http -VUE_APP_BASE_API = 'http://192.168.0.159:8000' +VUE_APP_BASE_API = 'http://47.117.45.79:8000' # 如果接口是 http 形式, wss 需要改为 ws -VUE_APP_WS_API = 'ws://192.168.0.159:8000' +VUE_APP_WS_API = 'ws://47.117.45.79:8000' diff --git a/src/views/base-data/point/index.vue b/src/views/base-data/point/index.vue index 39b60d3..d9cd026 100644 --- a/src/views/base-data/point/index.vue +++ b/src/views/base-data/point/index.vue @@ -51,7 +51,7 @@ slot="right" style="float: right;padding-left: 5px" :headers="headers" - :action="baseApi +'/api/point/import_point' " + :action="baseApi +'/api/point/importPoint' " :file-list="fileList" :on-error="handleErr" :on-success=" (response, file, fileList) => { return handleSuccess(response, file, fileList,crud);}" @@ -94,11 +94,11 @@ > - + - - + + - - + + - - - -