崔家丶聪少
崔家丶聪少
  • 发布:2025-06-22 14:31
  • 更新:2025-06-22 14:31
  • 阅读:13

defineProps 报错

分类:HBuilderX

ReferenceError: defineProps is not defined
at eval (nj-birthday-picker.vue:116)
at Object.eyIB (pages-userInfo-userInfo.js:3649)
at webpack_require (index.js:854)
at fn (index.js:151)
at eval (null:1)
at Module.KfFI (pages-userInfo-userInfo.js:2108)
at
webpack_require
(index.js:854)
at fn (index.js:151)
at eval (null:1)
at Module.IJrf (pages-userInfo-userInfo.js:1737)
webpack_require.oe @ index.js:978
Promise.catch (async)
(anonymous) @ index.js:1242
resolveAsyncComponent @ chunk-vendors.js:33363
createComponent @ chunk-vendors.js:32880
_createElement @ chunk-vendors.js:33102
createElement @ chunk-vendors.js:33033
vm.$createElement @ chunk-vendors.js:33174
render @ index.js:1364
Vue._render @ chunk-vendors.js:33225
updateComponent @ chunk-vendors.js:33743
get @ chunk-vendors.js:34162
Watcher @ chunk-vendors.js:34151
mountComponent @ chunk-vendors.js:33750
push.m44O.Vue.$mount @ chunk-vendors.js:38260
init @ chunk-vendors.js:32796
createComponent @ chunk-vendors.js:35657
createElm @ chunk-vendors.js:35604
patch @ chunk-vendors.js:36198
Vue._update @ chunk-vendors.js:33625
updateComponent @ chunk-vendors.js:33743
get @ chunk-vendors.js:34162
run @ chunk-vendors.js:34237
flushSchedulerQueue @ chunk-vendors.js:33993
(anonymous) @ chunk-vendors.js:31622
flushCallbacks @ chunk-vendors.js:31548
Promise.then (async)
timerFunc @ chunk-vendors.js:31575
nextTick @ chunk-vendors.js:31632
queueWatcher @ chunk-vendors.js:34085
update @ chunk-vendors.js:34227
notify @ chunk-vendors.js:30367
mutator @ chunk-vendors.js:30524
r @ chunk-vendors.js:29082
f @ chunk-vendors.js:29082
(anonymous) @ chunk-vendors.js:29082
iterator @ chunk-vendors.js:43374
step @ chunk-vendors.js:43141
step @ chunk-vendors.js:43145
runQueue @ chunk-vendors.js:43149
confirmTransition @ chunk-vendors.js:43403
transitionTo @ chunk-vendors.js:43298
push @ chunk-vendors.js:43808
push @ chunk-vendors.js:44105
s @ chunk-vendors.js:29082
u @ chunk-vendors.js:29082
(anonymous) @ chunk-vendors.js:29082
O @ chunk-vendors.js:29082
(anonymous) @ chunk-vendors.js:29082
(anonymous) @ chunk-vendors.js:29082
onJump @ index.vue:75
click @ pages-index-index.js:124
invokeWithErrorHandling @ chunk-vendors.js:31496
invoker @ chunk-vendors.js:31821
original._wrapper @ chunk-vendors.js:36705
chunk-vendors.js:30253 [Vue warn]: Failed to resolve async component: function (resolve) {
var component = {
component: Promise.all(/! require.ensure | pages-userInfo-userInfo /[
webpack_require
.e("pages-balance-balance~pages-discount-discount~pages-index-index~pages-userInfo-userInfo"), webpack_require.e("pages-userInfo-userInfo")]).then((function () {
return resolve(
webpack_require
(/! G:/project/haishanshuyuan/pages/userInfo/userInfo.vue / "Sa1x"));
}).bind(null, webpack_require)).catch(webpack_require.oe),
delay: uniConfig['async'].delay,
timeout:
uniConfig['async'].timeout
};
if (uniConfig['async']['loading']) {
component.loading = {
name: 'SystemAsyncLoading',
render: function render(createElement) {
return createElement(
uniConfig['async']['loading']);
}
};
}
if (uniConfig['async']['error']) {
component.error = {
name: 'SystemAsyncError',
render: function render(createElement) {
return createElement(
uniConfig['async']['error']);
}
};
}
return component;
}
Reason: ReferenceError: defineProps is not defined

2025-06-22 14:31 负责人:无 分享
已邀请:

要回复问题请先登录注册