hanbaoshan
2020-11-29 e5cd37f56567a800c78eae86c11de98f5cdd8dec
src/pages/cameraAccess/index/App.vue
@@ -25,17 +25,17 @@
    RightSide
  },
  computed: {
    app() {
    app () {
      return this.getUrlKey() !== null ? "DataStack" : "Camera"
    }
  },
  data() {
  data () {
    return {
      leftWith: 0,
      screenHeight: 0
    }
  },
  mounted() {
  mounted () {
    this.screenHeight = document.documentElement.clientHeight;
    window.onresize = () => {
      return (() => {
@@ -50,7 +50,7 @@
  },
  methods: {
    getUrlKey() {
    getUrlKey () {
      let name = "dataStack"
      return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.href) || [, ""])[1].replace(/\+/g, '%20')) || null
    }
@@ -134,7 +134,7 @@
  }
  .resize-bar:hover ~ .resize-line::after,
  .resize-bar:active ~ .resize-line::after {
    content: "";
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
@@ -144,5 +144,4 @@
    background-size: 100% 100%;
  }
}
</style>