Commit 27b45938 authored by Z's avatar Z

Z: Dot: Vue: Cross Problem.

parent cae71a8d
...@@ -12,7 +12,7 @@ export function ApiTestCfPost(inData) { ...@@ -12,7 +12,7 @@ export function ApiTestCfPost(inData) {
args: inData args: inData
} }
return request({ return request({
url: '', url: '/trans/',
method: 'post', method: 'post',
data: postData data: postData
}) })
......
module.exports = {
devServer: {
proxy: {
'/trans': {
// target: 'http://111.26.165.55:8010/',
target: 'http://bing.com/',
ws: false,
changeOrigin: true,
pathRewrite: {
'^/trans': ''
}
}
}
}
}
\ No newline at end of file
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