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

defineModel 无法使用,提示 "useModel" is not exported #4827

Open
LengGeng opened this issue Apr 9, 2024 · 5 comments
Open

defineModel 无法使用,提示 "useModel" is not exported #4827

LengGeng opened this issue Apr 9, 2024 · 5 comments
Assignees
Labels
bug Something isn't working mp mini program vue3

Comments

@LengGeng
Copy link

LengGeng commented Apr 9, 2024

"useModel" is not exported by "node_modules/.pnpm/@dcloudio[email protected]/node_modules/@dcloudio/uni-mp-vue/dist/vue.runtime.esm.js", imported by "src/components/categories/CategoryScrollSelector.vue?vue&type=script&setup=true&lang.ts".
at components/categories/CategoryScrollSelector.vue:1:9
1: import { useModel as _useModel, defineComponent as _defineComponent } from 'vue'
^
2: import { unref as _unref, toDisplayString as _toDisplayString, t as _t, o as _o, f as _f, n as _n } from "vue"

@feibi
Copy link

feibi commented Apr 12, 2024

+1

3 similar comments
@w4ng3
Copy link

w4ng3 commented Apr 29, 2024

+1

@crrzzzz
Copy link

crrzzzz commented May 4, 2024

+1

@li1164267803
Copy link

+1

@fxy060608 fxy060608 self-assigned this May 6, 2024
@fxy060608 fxy060608 added bug Something isn't working vue3 mp mini program labels May 6, 2024
@extclp
Copy link

extclp commented May 8, 2024

@fxy060608 h5可以使用了, 但是微信小程序还是不行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mp mini program vue3
Projects
None yet
Development

No branches or pull requests

7 participants