Browse Source

修改摄像头上下行方向的问题

develop
little4 2 months ago
parent
commit
e32be44bb7
  1. 2
      ruoyi-ui/src/utils/auth.js
  2. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue

2
ruoyi-ui/src/utils/auth.js

@ -1,6 +1,6 @@
import Cookies from 'js-cookie' import Cookies from 'js-cookie'
const TokenKey = 'DC-Token' const TokenKey = 'DC-Pro-Token'
export function getToken() { export function getToken() {
return Cookies.get(TokenKey) return Cookies.get(TokenKey)

4
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/index.vue

@ -9,8 +9,8 @@
<div class="video-pic" v-if="['-1','-2'].indexOf(activeName) !== -1 && [1,2,5].indexOf(data.warningSource) !== -1"> <div class="video-pic" v-if="['-1','-2'].indexOf(activeName) !== -1 && [1,2,5].indexOf(data.warningSource) !== -1">
<div style="flex: 1; height: 100%;position: relative;"> <div style="flex: 1; height: 100%;position: relative;">
<div class="radio"> <div class="radio">
<span @click="videoClick('downCamera')" :class="{ active: realVideo === 'downCamera' }">菏泽</span> <span @click="videoClick('upCamera')" :class="{ active: realVideo === 'upCamera' }">菏泽</span>
<span @click="videoClick('upCamera') " :class="{ active: realVideo === 'upCamera' }">济南</span> <span @click="videoClick('downCamera') " :class="{ active: realVideo === 'downCamera' }">济南</span>
</div> </div>
<Video v-if="realVideo" <Video v-if="realVideo"
class="item-video" class="item-video"

Loading…
Cancel
Save