[Vue warn]: Failed to resolve async component: function (resolve) {
var component = {
component: webpack_require.e(/! require.ensure | pages-constructionManage-createOrEdit / "pages-constructionManage-createOrEdit").then((function () {
return resolve(webpack_require(/! ./src/pages/constructionManage/createOrEdit.vue / "QG5w"));
}).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;
}
6***@qq.com (作者)
仔细找了一下代码,
发现uni-data-select.vue
mixins: [uniCloud.mixinDatacom || {}],
这行代码注释后就不报错, 但是注释后组件就不能渲染了,
尝试了uni-ui 降级也不行,
项目是通过cli创建的 引入uni-ui的方式也是easycom
其他的form表单组件可以, select 和picker 都是报这个错误
2022-08-04 18:28
6***@qq.com (作者)
uniCloud.mixinDatacom 这行代码是怎么执行的, 组件都没有import相关的代码
2022-08-04 18:30
DCloud_UNI_WZF
回复 6***@qq.com: datacom
2022-08-05 17:12