1.
'<img src = "' + this.api + commonService.captchaImage + '" onclick = "refreshCaptcha (esto)" style = "margin-top: 10px; border: 1px solid # b4bccc; cursor: puntero;" title = "点击刷新" />'
2.
métodos: { refreshCaptcha (e) { . e.src = this.api + + commonService.captchaImage '? t =' + new Date () getTime (); //document.getElementById('captcha').src = this.api + + commonService.captchaImage '? t =' + new Date () getTime (.); },
}
3.
creado () { window.refreshCaptcha = this.refreshCaptcha; }