Commit 65f7df21 authored by 严宝瑞's avatar 严宝瑞

fix bug

parent 9070784e
...@@ -105,7 +105,7 @@ export default { ...@@ -105,7 +105,7 @@ export default {
this.pageLoading = true; this.pageLoading = true;
this.$http({ this.$http({
method: "get", method: "get",
url: `api/order/search/${this.no}` url: `api/search/${this.no}`
}) })
.then(res => { .then(res => {
console.log(res); console.log(res);
......
...@@ -17,11 +17,11 @@ module.exports = { ...@@ -17,11 +17,11 @@ module.exports = {
"Access-Control-Allow-Origin": "*" "Access-Control-Allow-Origin": "*"
}, },
proxy: { proxy: {
"/api": { "/order-inquiry/api": {
target: "http://api.oa.wy", target: "http://order.api.oa.test.huaperfect.com",
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
"^/api": "" "^/order-inquiry/api": ""
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment