Browse Source

fix: 🧩 艺术点位优化

pull/9/head
liyongle 3 years ago
parent
commit
42e14268a4
  1. 1
      package.json
  2. 2
      src/views/Guide/ArtList.vue
  3. 2
      src/views/Nav/Nav.vue

1
package.json

@ -10,7 +10,6 @@
"stylelint": "stylelint \"./**/*.{css,scss,sass,vue,html}\"", "stylelint": "stylelint \"./**/*.{css,scss,sass,vue,html}\"",
"stylelint:fix": "stylelint \"./**/*.{css,scss,sass,vue,html}\" --fix", "stylelint:fix": "stylelint \"./**/*.{css,scss,sass,vue,html}\" --fix",
"prettier": "prettier --write .", "prettier": "prettier --write .",
"prepare": "husky install",
"commit": "git add . && git cz", "commit": "git add . && git cz",
"changelog": "standard-version", "changelog": "standard-version",
"release:first": "standard-version --release-as 1.0.0-B.1", "release:first": "standard-version --release-as 1.0.0-B.1",

2
src/views/Guide/ArtList.vue

@ -55,7 +55,7 @@ function show(item: Art, index: number) {
const art: any = document.getElementById('artInfo') const art: any = document.getElementById('artInfo')
art.style.visibility = 'visible' art.style.visibility = 'visible'
const floors = store.currentBuildingFloorsList.filter(item => item.floorOrder === Number(poi[1]))
const floors = store.currentBuildingFloorsList.filter(item => item.floorOrder === Number(poi_nav[1]))
const shop = { const shop = {
shopCode: index + 1, shopCode: index + 1,
shopName: item.content.name, shopName: item.content.name,

2
src/views/Nav/Nav.vue

@ -145,7 +145,7 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { onUnmounted, ref, watch } from 'vue'
import { ref, watch } from 'vue'
import { storeToRefs } from 'pinia' import { storeToRefs } from 'pinia'
import { useRootStore } from '@/store/root' import { useRootStore } from '@/store/root'
import { useMapNavControl } from '@/composables/useMapNavControl' import { useMapNavControl } from '@/composables/useMapNavControl'

Loading…
Cancel
Save