Commit 818fda9c authored by 毛线's avatar 毛线

弹窗封装

parent ea71c849
......@@ -349,7 +349,7 @@ export default {
}
}
.right-option {
width: 606px;
width: 640px;
margin-left: 20px;
margin-bottom: 4px;
background-image: url(https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/ic_bottom_01.png);
......
......@@ -71,7 +71,7 @@ export default {
},
watch: {
device() {
console.log('watch device', this.device)
console.log('watch device', { ...this.device })
this.init().play()
},
},
......@@ -92,7 +92,6 @@ export default {
play: () => {
const url = this.device?.videoMainNumber
const webrtc = `webrtc://eslotstreaming.com${url}`
console.log('device', { ...this.device })
this.$refs.webrtc.initVideo(webrtc)
this.isPlay = true
},
......@@ -114,7 +113,7 @@ export default {
data.keyMapping = JSON.parse(data.keyMapping)
this.deviceButtonPanel = data
const { keyMapping } = data
console.log('keyMapping', keyMapping)
console.log('键盘数据', keyMapping)
})
},
isSave: () => {
......
......@@ -4,7 +4,6 @@ import { getToken } from '@/utils/auth' // 验权
const service = ({ $axios, app }, inject) => {
$axios.interceptors.request.use(
(config) => {
console.log('config', config)
if (!config.url.includes('/api/player/login')) {
config.headers['Authorization'] = getToken()
}
......
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