优化跨域配置,支持同域的前后端分离部署
This commit is contained in:
@@ -335,7 +335,7 @@ export default {
|
||||
var that = this;
|
||||
await that.$axios({
|
||||
method: 'get',
|
||||
url:`./api/platform/exit/${deviceGbId}`
|
||||
url:`/api/platform/exit/${deviceGbId}`
|
||||
}).then(function (res) {
|
||||
result = res.data;
|
||||
}).catch(function (error) {
|
||||
|
||||
Reference in New Issue
Block a user