From f28ea879e5a2bddf0da8621e969af55c716f85d3 Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Wed, 04 Aug 2021 11:39:29 +0800
Subject: [PATCH] 修改ip端口
---
vue.config.js | 4 ++--
public/papers.html | 16 ++++++++--------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/public/papers.html b/public/papers.html
index 93b2421..c7f8f3d 100644
--- a/public/papers.html
+++ b/public/papers.html
@@ -12,7 +12,7 @@
justify-content: center;
flex-direction: column;
}
-
+
.user-info-table {
margin-top: 30px;
width: 60%;
@@ -20,25 +20,25 @@
border: 1px solid #000;
background-color: #fff;
}
-
+
.user-info-tr {
height: 50px;
}
-
+
.avatar {
width: 140px;
height: 190px;
}
-
+
.title {
margin-top: 20px;
}
-
+
.avatar {
width: 140px;
height: 190px;
}
-
+
.my-picture {
width: 150px;
/* height: 200px; */
@@ -121,7 +121,7 @@
var examType = JSON.parse(getData("data")).examType;
// console.log(JSON.parse(getData("data")), 111);
- axios.get('http://192.168.0.114:81/apply/getApplyInfo?id=' + id + "&applyExamType=" + examType).then(function(res) {
+ axios.get('http://47.49.21.216:82/apply/getApplyInfo?id=' + id + "&applyExamType=" + examType).then(function(res) {
var data = res.data.data;
var str = `<span class="title">${data.examName}</span>
<span class="title">准考证信息</span>
@@ -204,4 +204,4 @@
</script>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/vue.config.js b/vue.config.js
index ae07d48..4ccc2fc 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,6 +1,6 @@
module.exports = {
//路径前缀
- publicPath: "/",
+ publicPath: "/enterprises/",
lintOnSave: true,
productionSourceMap: false,
chainWebpack: (config) => {
@@ -29,7 +29,7 @@
//本地服务接口地址
// target: 'http://localhost',
// target: 'http://192.168.0.114:81',//钟W
- target: 'http://192.168.0.108:81',//原W
+ target: 'http://localhost:82',//原W
// target: 'http://192.168.0.104:80',//唐N
//远程演示服务地址,可用于直接启动项目
// target: 'https://saber.bladex.vip/api',
--
Gitblit v1.9.3