优化跨域配置,支持同域的前后端分离部署
This commit is contained in:
@@ -298,7 +298,7 @@ export default {
|
||||
let that = this;
|
||||
this.$axios({
|
||||
method: 'get',
|
||||
url: './api/play/start/' + deviceId + '/' + channelId
|
||||
url: '/api/play/start/' + deviceId + '/' + channelId
|
||||
}).then(function (res) {
|
||||
that.isLoging = false;
|
||||
if (res.data.code === 0) {
|
||||
|
||||
Reference in New Issue
Block a user