export const loadView = (view) => { return () => require(`@/views/${view}`) } 改为 export const loadView = (view) => { return (resolve) => require([`@/views/${view}`],resolve) }