Browse Source

http请求

yantai_master
mk 2 years ago
parent
commit
aafa2f408e
  1. 4
      src/views/modules/shequzhili/videoWall/videoDialog.vue

4
src/views/modules/shequzhili/videoWall/videoDialog.vue

@ -32,7 +32,7 @@
},
getAuthCameras(token){
var that=this;
this.$axios.post("http://172.20.41.195:9006/video/api/getAuthCameras",null,{
this.$http.post("http://172.20.41.195:9006/video/api/getAuthCameras",null,{
headers: {
Authorization: token
}})
@ -41,7 +41,7 @@
});
},
getLogin(){
this.$axios
this.$http
.post("http://172.20.41.195:9006/video/api/login",this.userData)
.then((res) => {
this.token=res.data.data.token;

Loading…
Cancel
Save