Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Error in render: "TypeError: Cannot set property 'params' of undefined" #812

Open
shijiezhou1 opened this issue Sep 9, 2021 · 2 comments

Comments

@shijiezhou1
Copy link

中文用户注意:

  1. 尽量用英文描述你的 Issue,你的问题是面向世界的
  2. 不要把内容堆彻在标题上,逻辑清晰地写在内容区
  3. 贴代码要提前格式化好,有颜色高亮那种,贴文本,不要贴图片
  4. 提问题前,务必仔细阅读 README.md;在已关闭的问题中寻找与自身相关的问题,90% 的可能它已经被解决

BUG REPORT TEMPLATE

TypeError: Cannot set property 'params' of undefined
    at SwiperClass (swiper.js:1038)
    at Swiper (swiper.js:3716)
    at resolveAsyncComponent (vue.runtime.esm.js:3707)
    at createComponent (vue.runtime.esm.js:3219)
    at _createElement (vue.runtime.esm.js:3443)
    at createElement (vue.runtime.esm.js:3374)
    at vm._c (vue.runtime.esm.js:3512)
    at Proxy.render (hero-hit-listing.vue?ebee:10)
    at VueComponent.Vue._render (vue.runtime.esm.js:3569)
    at VueComponent.updateComponent (vue.runtime.esm.js:4081)

Vue.js version and component version

Vue 2.6

Reproduction Link

I installed and it can't render

Steps to reproduce

just put

<Swiper class='swiper' :options='swiperOption'>
        <SwiperSlide>Slide 1</SwiperSlide>
        <SwiperSlide>Slide 2</SwiperSlide>
        <SwiperSlide>Slide 3</SwiperSlide>
        <SwiperSlide>Slide 4</SwiperSlide>
        <SwiperSlide>Slide 5</SwiperSlide>
        <SwiperSlide>Slide 6</SwiperSlide>
        <SwiperSlide>Slide 7</SwiperSlide>
        <SwiperSlide>Slide 8</SwiperSlide>
        <SwiperSlide>Slide 9</SwiperSlide>
        <SwiperSlide>Slide 10</SwiperSlide>
        <div class='swiper-pagination' slot='pagination'></div>
      </Swiper>```

#### What is Expected?

Expected to no throw errors.

#### What is actually happening?
@dkjain
Copy link

dkjain commented Oct 31, 2021

@shijiezhou1 I am getting same error, did you find solution to this problem?

@dkjain
Copy link

dkjain commented Oct 31, 2021

@shijiezhou1 I am getting same error, did you find solution to this problem?

This is resolved, here.

#499 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants