Open 18487197435 opened 3 years ago
[Vue warn]: Failed to resolve async component: function() {
return new Component(name).load(url) .then(function(component) { console.log(component) return component.normalize(); }) .then(function(component) { console.log("我是第二个"); console.log(component); return component.compile() //return Promise.resolve(component); }) .then(function(component) { console.log("我是第三个"); console.log(component); var exports = component.script !== null ? component.script.module.exports : {}; if ( component.template !== null ) exports.template = component.template.getContent(); if ( exports.name === undefined ) if ( component.name !== undefined ) exports.name = component.name; exports._baseURI = component.baseURI; return exports; }); }
Reason: SyntaxError: 缺少 ':'
[Vue warn]: Failed to resolve async component: function() {
Reason: SyntaxError: 缺少 ':'