bc
bc
  • 发布:2020-09-23 14:37
  • 更新:2021-10-30 11:12
  • 阅读:2237

#插件讨论# 【 uView UI重磅更新,已全面完美兼容头条系小程序 - uViewUI 】引入Dropdown 下拉菜单 会有一堆错误提示!!

分类:uni-app

VM9949:1 [Vue warn]: Property or method "item" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.

found in

---> <UDropdownItem> at uview-ui/components/u-dropdown-item/u-dropdown-item.vue
<UDropdown> at uview-ui/components/u-dropdown/u-dropdown.vue
pages/order/order.vue
console.error @ VM9949:1
warn @ vendor.js:6429
warnNonPresent @ vendor.js:7831
get @ vendor.js:7886
render @ u-dropdown-item.js:96
Vue.render @ vendor.js:9366
updateComponent @ vendor.js:11502
get @ vendor.js:10226
Watcher @ vendor.js:10215
mountComponent$1 @ vendor.js:11508
Vue.$mount @ vendor.js:11831
attached @ vendor.js:1408
r.safeCallback @ VM9956 WAService.js:2
r.call @ VM9956 WAService.js:2
r @ VM9956 WAService.js:2
r @ VM9956 WAService.js:2
r @ VM9956 WAService.js:2
r @ VM9956 WAService.js:2
m @ VM9956 WAService.js:2
.pretendAttached @ VM9956 WAService.js:2
Lt @ VM9956 WAService.js:2
Dt @ VM9956 WAService.js:2
Mt @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
i.emit @ VM9956 WAService.js:2
emit @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
i.emit @ VM9956 WAService.js:2
emit @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
o @ VM9953 asdebug.js:1
(anonymous) @ VM9953 asdebug.js:1
(anonymous) @ VM9953 asdebug.js:1
_ws.onmessage @ VM9953 asdebug.js:1
Show 6 more frames
VM9949:1 [Vue warn]: Error in render: "TypeError: Cannot read property 'value' of undefined"

found in

---> <UDropdownItem> at uview-ui/components/u-dropdown-item/u-dropdown-item.vue
<UDropdown> at uview-ui/components/u-dropdown/u-dropdown.vue
pages/order/order.vue
console.error @ VM9949:1
warn @ vendor.js:6429
Vue.config.errorHandler @ vendor.js:11618
globalHandleError @ vendor.js:7690
handleError @ vendor.js:7659
Vue.render @ vendor.js:9368
updateComponent @ vendor.js:11502
get @ vendor.js:10226
Watcher @ vendor.js:10215
mountComponent$1 @ vendor.js:11508
Vue.$mount @ vendor.js:11831
attached @ vendor.js:1408
r.safeCallback @ VM9956 WAService.js:2
r.call @ VM9956 WAService.js:2
r @ VM9956 WAService.js:2
r @ VM9956 WAService.js:2
r @ VM9956 WAService.js:2
r @ VM9956 WAService.js:2
m @ VM9956 WAService.js:2
.pretendAttached @ VM9956 WAService.js:2
Lt @ VM9956 WAService.js:2
Dt @ VM9956 WAService.js:2
Mt @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
i.emit @ VM9956 WAService.js:2
emit @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
i.emit @ VM9956 WAService.js:2
emit @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
o @ VM9953 asdebug.js:1
(anonymous) @ VM9953 asdebug.js:1
(anonymous) @ VM9953 asdebug.js:1
_ws.onmessage @ VM9953 asdebug.js:1
Show 6 more frames
VM9949:1 TypeError: Cannot read property 'value' of undefined
at Proxy.render (u-dropdown-item.js:96)
at VueComponent.Vue._render (vendor.js:9366)
at VueComponent.updateComponent (vendor.js:11502)
at Watcher.get (vendor.js:10226)
at new Watcher (vendor.js:10215)
at mountComponent$1 (vendor.js:11508)
at VueComponent.Vue.$mount (vendor.js:11831)
at Ze.attached (vendor.js:1408)
at r.safeCallback (VM9956 WAService.js:2)
at r.call (VM9956 WAService.js:2)
console.error @ VM9949:1
Vue.config.errorHandler @ vendor.js:11619
globalHandleError @ vendor.js:7690
handleError @ vendor.js:7659
Vue.render @ vendor.js:9368
updateComponent @ vendor.js:11502
get @ vendor.js:10226
Watcher @ vendor.js:10215
mountComponent$1 @ vendor.js:11508
Vue.$mount @ vendor.js:11831
attached @ vendor.js:1408
r.safeCallback @ VM9956 WAService.js:2
r.call @ VM9956 WAService.js:2
r @ VM9956 WAService.js:2
r @ VM9956 WAService.js:2
r @ VM9956 WAService.js:2
r @ VM9956 WAService.js:2
m @ VM9956 WAService.js:2
.pretendAttached @ VM9956 WAService.js:2
Lt @ VM9956 WAService.js:2
Dt @ VM9956 WAService.js:2
Mt @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
i.emit @ VM9956 WAService.js:2
emit @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
i.emit @ VM9956 WAService.js:2
emit @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
o @ VM9953 asdebug.js:1
(anonymous) @ VM9953 asdebug.js:1
(anonymous) @ VM9953 asdebug.js:1
_ws.onmessage @ VM9953 asdebug.js:1
Show 5 more frames
order.js:278 (8) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, ob: Observer]
VM9949:1 [Vue warn]: Property or method "item" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.

found in

---> <UDropdownItem> at uview-ui/components/u-dropdown-item/u-dropdown-item.vue
<UDropdown> at uview-ui/components/u-dropdown/u-dropdown.vue
pages/order/order.vue
console.error @ VM9949:1
warn @ vendor.js:6429
warnNonPresent @ vendor.js:7831
get @ vendor.js:7886
render @ u-dropdown-item.js:96
Vue._render @ vendor.js:9366
updateComponent @ vendor.js:11502
get @ vendor.js:10226
run @ vendor.js:10301
flushSchedulerQueue @ vendor.js:10057
(anonymous) @ vendor.js:7796
flushCallbacks @ vendor.js:7724
Promise.then (async)
timerFunc @ vendor.js:7751
nextTick @ vendor.js:7806
queueWatcher @ vendor.js:10149
update @ vendor.js:10291
notify @ vendor.js:6543
reactiveSetter @ vendor.js:6877
proxySetter @ vendor.js:10378
init @ u-dropdown-item.js:248
mounted @ u-dropdown-item.js:267
invokeWithErrorHandling @ vendor.js:7674
Vue.__call_hook @ vendor.js:11675
ready @ vendor.js:1415
r.safeCallback @ VM9956 WAService.js:2
r.call @ VM9956 WAService.js:2
M.triggerLifeTime @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
r.safeCallback @ VM9956 WAService.js:2
value @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
r @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
o @ VM9953 asdebug.js:1
(anonymous) @ VM9953 asdebug.js:1
(anonymous) @ VM9953 asdebug.js:1
_ws.onmessage @ VM9953 asdebug.js:1
VM9949:1 [Vue warn]: Error in render: "TypeError: Cannot read property 'value' of undefined"

found in

---> <UDropdownItem> at uview-ui/components/u-dropdown-item/u-dropdown-item.vue
<UDropdown> at uview-ui/components/u-dropdown/u-dropdown.vue
pages/order/order.vue
console.error @ VM9949:1
warn @ vendor.js:6429
Vue.config.errorHandler @ vendor.js:11618
globalHandleError @ vendor.js:7690
handleError @ vendor.js:7659
Vue._render @ vendor.js:9368
updateComponent @ vendor.js:11502
get @ vendor.js:10226
run @ vendor.js:10301
flushSchedulerQueue @ vendor.js:10057
(anonymous) @ vendor.js:7796
flushCallbacks @ vendor.js:7724
Promise.then (async)
timerFunc @ vendor.js:7751
nextTick @ vendor.js:7806
queueWatcher @ vendor.js:10149
update @ vendor.js:10291
notify @ vendor.js:6543
reactiveSetter @ vendor.js:6877
proxySetter @ vendor.js:10378
init @ u-dropdown-item.js:248
mounted @ u-dropdown-item.js:267
invokeWithErrorHandling @ vendor.js:7674
Vue.call_hook @ vendor.js:11675
ready @ vendor.js:1415
r.safeCallback @ VM9956 WAService.js:2
r.call @ VM9956 WAService.js:2
M.triggerLifeTime @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
r.safeCallback @ VM9956 WAService.js:2
value @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
r @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
o @ VM9953 asdebug.js:1
(anonymous) @ VM9953 asdebug.js:1
(anonymous) @ VM9953 asdebug.js:1
_ws.onmessage @ VM9953 asdebug.js:1
VM9949:1 TypeError: Cannot read property 'value' of undefined
at Proxy.render (u-dropdown-item.js:96)
at VueComponent.Vue._render (vendor.js:9366)
at VueComponent.updateComponent (vendor.js:11502)
at Watcher.get (vendor.js:10226)
at Watcher.run (vendor.js:10301)
at flushSchedulerQueue (vendor.js:10057)
at Array.<anonymous> (vendor.js:7796)
at flushCallbacks (vendor.js:7724)
console.error @ VM9949:1
Vue.config.errorHandler @ vendor.js:11619
globalHandleError @ vendor.js:7690
handleError @ vendor.js:7659
Vue._render @ vendor.js:9368
updateComponent @ vendor.js:11502
get @ vendor.js:10226
run @ vendor.js:10301
flushSchedulerQueue @ vendor.js:10057
(anonymous) @ vendor.js:7796
flushCallbacks @ vendor.js:7724
Promise.then (async)
timerFunc @ vendor.js:7751
nextTick @ vendor.js:7806
queueWatcher @ vendor.js:10149
update @ vendor.js:10291
notify @ vendor.js:6543
reactiveSetter @ vendor.js:6877
proxySetter @ vendor.js:10378
init @ u-dropdown-item.js:248
mounted @ u-dropdown-item.js:267
invokeWithErrorHandling @ vendor.js:7674
Vue.
call_hook @ vendor.js:11675
ready @ vendor.js:1415
r.safeCallback @ VM9956 WAService.js:2
r.call @ VM9956 WAService.js:2
M.triggerLifeTime @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
r.safeCallback @ VM9956 WAService.js:2
value @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
r @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
(anonymous) @ VM9956 WAService.js:2
o @ VM9953 asdebug.js:1
(anonymous) @ VM9953 asdebug.js:1
(anonymous) @ VM9953 asdebug.js:1
_ws.onmessage @ VM9953 asdebug.js:1

2020-09-23 14:37 负责人:无 分享
已邀请:
lbnzms

lbnzms

完全不兼容,这个组件完全没显示

迷糊K

迷糊K - 从Java入门的野生程序猿一枚

我也遇到了,希望有人解释下

该问题目前已经被锁定, 无法添加新回复