master
niantianya 1 year ago
parent c6df950d99
commit 34000dc4ea
  1. 15
      src/views/libraryManage/mapRouter/index.vue
  2. 1
      src/views/libraryManage/warehouseMap/index.vue

@ -1,28 +1,27 @@
<script setup> <script setup>
export default { export default {
name: "mapRouter", name: 'mapRouter',
data() { data() {
return {} return {}
}, },
created() { created() {
this.$router.replace('/libraryManage/warehouseMap'); this.$router.replace('/SYSTEM/warehouseMap')
}, },
// 使 watch // 使 watch
watch: { watch: {
'$route': function(to, from) { $route: function (to, from) {
// console.log('////') // console.log('////')
this.$router.replace('/libraryManage/warehouseMap'); this.$router.replace('/SYSTEM/warehouseMap')
} }
}, }
} }
</script> </script>
<template> <template>
<div> <div>
</div> </div>
</template> </template>
<style scoped lang="scss"> <style scoped lang="scss">
</style> </style>

@ -463,7 +463,6 @@ export default {
this.doUpdateFreightSpaceState() this.doUpdateFreightSpaceState()
// console.log(111) // console.log(111)
var layerId1 = localStorage.getItem('level') var layerId1 = localStorage.getItem('level')
console.log(layerId1)
if (layerId1 === 'level-0') { if (layerId1 === 'level-0') {
this.initWareHouseInfo(this.config.latticeForFourwayCar1) this.initWareHouseInfo(this.config.latticeForFourwayCar1)
} else if (layerId1 === 'level-2') { } else if (layerId1 === 'level-2') {

Loading…
Cancel
Save