很简单:
比如在 onLoad () {
imgRemove(e) { this.methods.onRemove(e) }}
在methods中就可以直接调用属于它的方法,主要是一个属性查找问题,属于哪个元素下的方法
methods = {
onRemove(e) { console.log("--"+ e +"--") } onAlert() {
this.onRemove()
}
}