Vue报错(Property or method "xxx" is not defined on the instance but referenced during render.) 原因: 你的“”xxx‘’属性或者"xxx"方法没有定义,查看你的data或者methods或者prop 解决: export default { data(){ return{ xxx:"" }, methods:{ xxx(){} } } }