异常You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.在 vue.config.js 中module.exports={runtimeCompiler:true}