| | |
| | | import LeftNav from "@/components/LeftNav"; |
| | | // import CameraVideo from "./components/Video.vue"; |
| | | import RightSide from "./VideoManage" |
| | | import { getUrlKey } from "@/api/utils"; |
| | | |
| | | export default { |
| | | name: "VideoManage", |
| | |
| | | }, |
| | | computed: { |
| | | app() { |
| | | return this.getUrlKey() !== null ? "DataStack" : "Camera" |
| | | return getUrlKey("dataStack") !== null ? "DataStack" : "Camera" |
| | | } |
| | | }, |
| | | data() { |
| | |
| | | this.DataStackPool.readonly = false; |
| | | }, |
| | | methods: { |
| | | getUrlKey() { |
| | | let name = "dataStack" |
| | | return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.href) || [, ""])[1].replace(/\+/g, '%20')) || null |
| | | } |
| | | |
| | | } |
| | | }; |
| | | </script> |