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

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

Loading…
Cancel
Save