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

弹窗封装

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