Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue3 component error #636

Open
WEBSPEED opened this issue Aug 13, 2024 · 0 comments
Open

Vue3 component error #636

WEBSPEED opened this issue Aug 13, 2024 · 0 comments

Comments

@WEBSPEED
Copy link

WEBSPEED commented Aug 13, 2024

https://multiple-select.wenzhixin.net.cn/docs/en/webpack

app.js

import 'multiple-select/dist/multiple-select.min.css'
import 'multiple-select/dist/multiple-select.js'

import MultipleSelect from 'multiple-select/dist/multiple-select-vue.js'
or
import MultipleSelect from 'multiple-select/dist/multiple-select-vue-es.js'

app..component('MultipleSelect', MultipleSelect)

page.vue

<script setup>
import { reactive } from 'vue'
const form = reactive({
 formScreenOut: ""
})
</script>

<template>
    <MultipleSelect
      v-model="form.formScreenOut"
      width="200"
    >
    <option value="3">3</option>
    <option value="5">5</option>
    <option value="10">10</option>
    </MultipleSelect>
</template>

error

chunk-D5GHRSDL.js?v=d6fc17e5:255 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_c')
at Proxy.vue_render (chunk-D5GHRSDL.js?v=d6fc17e5:255:28)
at renderComponentRoot (chunk-KZPH43E5.js?v=d6fc17e5:7779:17)
at ReactiveEffect.componentUpdateFn [as fn] (chunk-KZPH43E5.js?v=d6fc17e5:6459:46)
at ReactiveEffect.run (chunk-KZPH43E5.js?v=d6fc17e5:435:19)
at instance.update (chunk-KZPH43E5.js?v=d6fc17e5:6590:17)
at setupRenderEffect (chunk-KZPH43E5.js?v=d6fc17e5:6600:5)
at mountComponent (chunk-KZPH43E5.js?v=d6fc17e5:6368:7)
at processComponent (chunk-KZPH43E5.js?v=d6fc17e5:6322:9)
at patch (chunk-KZPH43E5.js?v=d6fc17e5:5838:11)
at mountChildren (chunk-KZPH43E5.js?v=d6fc17e5:6070:7)

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

No branches or pull requests

1 participant