Browse Source

fix: 🧩 删除警告代码

pull/1/head
liyongle 3 years ago
parent
commit
50bc367a57
  1. 2
      src/components/EffectFade/EffectFade.vue
  2. 2
      src/components/ShopDetail/ShopDetail.vue
  3. 2
      src/components/ShopItem/ShopItem.vue
  4. 2
      src/components/TypeBtnList/TypeBtnList.vue
  5. 1
      src/views/Art/ArtMapItem.vue
  6. 1
      src/views/Art/ArtRightItem.vue
  7. 1
      src/views/Brand/Brand.vue
  8. 12
      src/views/Guide/Guide.vue
  9. 4
      src/views/Nav/Nav.vue

2
src/components/EffectFade/EffectFade.vue

@ -26,7 +26,7 @@ SwiperCore.use([Autoplay, EffectFade, Pagination])
type Props = {
list: string[]
pagination: boolean
pagination?: boolean
}
withDefaults(defineProps<Props>(), {

2
src/components/ShopDetail/ShopDetail.vue

@ -100,7 +100,7 @@ import marquees from '@/base/Marquees/Marquees.vue'
import { ref } from 'vue'
import { useRouter } from 'vue-router'
import { useStatistics } from '@/composables/useStatistics'
import { getBrandStar, setBrandStar } from '@/http/api/brand/index'
import { setBrandStar } from '@/http/api/brand/index'
import { storeToRefs } from 'pinia'
import { useRootStore } from '@/store/root'

2
src/components/ShopItem/ShopItem.vue

@ -24,7 +24,7 @@
</template>
<script setup lang="ts">
const props = defineProps<{ shop: Shop }>()
defineProps<{ shop: Shop }>()
</script>
<style scoped lang="scss">

2
src/components/TypeBtnList/TypeBtnList.vue

@ -25,7 +25,7 @@ type TypeItem = {
title: string
titleEn: string
}
const props = defineProps<{
defineProps<{
list: TypeItem[]
}>()

1
src/views/Art/ArtMapItem.vue

@ -28,6 +28,7 @@ const emits = defineEmits(['go'])
const props = defineProps({
artInfo: {
type: Object,
// eslint-disable-next-line @typescript-eslint/no-empty-function, no-empty-function
default: () => {}
}
})

1
src/views/Art/ArtRightItem.vue

@ -24,6 +24,7 @@ const emits = defineEmits(['go'])
const props = defineProps({
artInfo: {
type: Object,
// eslint-disable-next-line @typescript-eslint/no-empty-function, no-empty-function
default: () => {}
}
})

1
src/views/Brand/Brand.vue

@ -240,6 +240,7 @@ function clickShop(item: Shop) {
position: absolute;
top: 319px;
left: 124px;
width: 144px;
font-size: 24px;
font-family: 'font_bold';
text-align: center;

12
src/views/Guide/Guide.vue

@ -3,11 +3,11 @@
</template>
<script setup lang="ts">
import { useGuideMapOperation } from '@/composables/useGuideMapOperation'
import { useFacilityNav } from '@/composables/useFacilityNav'
import { useGuideFilterShop } from '@/composables/useGuideFilterShop'
// import { useGuideMapOperation } from '@/composables/useGuideMapOperation'
// import { useFacilityNav } from '@/composables/useFacilityNav'
// import { useGuideFilterShop } from '@/composables/useGuideFilterShop'
const { floorIdx, selectedShopList, filterShopByFloorName, filterAboutCurrentInfo } = useGuideFilterShop() //
const { switchFloor, handleMapIcon, list, mapIdx } = useGuideMapOperation() //
const { handleFacility } = useFacilityNav() //
// const { floorIdx, selectedShopList, filterShopByFloorName, filterAboutCurrentInfo } = useGuideFilterShop() //
// const { switchFloor, handleMapIcon, list, mapIdx } = useGuideMapOperation() //
// const { handleFacility } = useFacilityNav() //
</script>

4
src/views/Nav/Nav.vue

@ -173,10 +173,10 @@ import ScrollView from '@/base/ScrollView/ScrollView.vue'
const store = useRootStore()
const { shop, device, language, config } = storeToRefs(store)
const { replay, pause, speedUp, handleReplay, togglePause, handleSpeedUp, resetPause } = useMapNavControl()
const { speedUp, handleReplay, handleSpeedUp, resetPause } = useMapNavControl()
const { directionInfo, pathShopList, backPathArray, startNavi } = useStartNavi(shop, device, resetPause)
const { methodIdx, methodsList, handleControl } = useChangeNavMethod(backPathArray)
const { cameraViews, setCameraViews } = useSetCameraViews(resetPause)
const { cameraViews } = useSetCameraViews(resetPause)
const isBack = ref(false)

Loading…
Cancel
Save