Browse Source

0919

master
xuhuajiao 2 years ago
parent
commit
34cef867a8
  1. 6
      src/views/accessToLibrary/index.vue

6
src/views/accessToLibrary/index.vue

@ -66,6 +66,8 @@ export default {
getInitIntoNum() {
// this.otherDoorOther = window.location.href.split('?')[1]?.split('=')[1]
const currentURL = window.location.href
console.log(currentURL)
if (currentURL.indexOf('?') !== -1) {
const query = currentURL.split('?')[1]
console.log(query)
console.log(query.indexOf('startTime'))
@ -87,6 +89,9 @@ export default {
} else {
this.otherDoorOther = query.split('=')[1]
}
} else {
this.otherDoorOther = null
}
const startTime = this.$route.query.startTime
const endTime = this.$route.query.endTime
@ -96,6 +101,7 @@ export default {
} else {
this.otherDoorOther = null
}
let params
if (!this.isSelfService) {
params = {

Loading…
Cancel
Save