When using swiper in Vue, the page can be displayed normally, but there are warning statements on the console all the time, how to solve this problem?

when using vue-awesome-swiper in Vue, the page is normal, but the console keeps reporting errors

clipboard.png

clipboard.png

node

clipboard.png

but the page is not affected. The way I use
main

import "swiper/dist/css/swiper.min.css";
import VueAwesomeSwiper from "vue-awesome-swiper";
Vue.use(VueAwesomeSwiper);

because I use multiple components, I encapsulate them into components

<template>
         <div class="swiper-container tu">
            <div class="swiper-wrapper">
                <div class="swiper-slide" v-for="item in Filetu">
                    <img :src="item" alt="" />
                </div>
            </div>
        </div>
</template>

<script>
    import Swiper from "swiper";
    export default{
        props:{
            Filetu:{
                type:Array,
                default:Array,
                 required: true
            },
            index:{
                type:Number,
                 required: true
            }
        },
        mounted(){
            this.lun();
        },
        methods:{
                lun(){
                    const _index=this.index;
                    var myswiper=new Swiper(".tu",{
                        observer:true,
                        observerParent:true,
                        initialSlide:_index,//slide
                    })
                
            }
        }
    }
</script>

use

in components
                   
             <u-swiper 
                    :Filetu="Filetu" 
                    :index="TupianKey"
                    v-if="TupianStyle"
                    >
             </u-swiper>
             
             import Uswiper from "./Uswiper"
             
           components:{
            "u-swiper":Uswiper
        },

how to deal with this warning? It"s ugly. Vue-awesome-swiper is version 3.1.1

.
Jul.18,2021

change the name of node_modules/Swiper to lowercase node_modules/swiper


usually learn more words, you can understand it now.

error means: multiple packages have been found in node_modules with the same name, but different case (case/casing). If you put it in a case-sensitive system (such as mac/linux), unexpected behavior will occur after packaging. It is recommended that you modify it as soon as possible.

there should be no problem with the solution upstairs.

Menu