lemo-crm/web/app/components/reload-btn.js
Shaun Chyxion 528e09dbdd init
2017-06-04 22:56:26 +08:00

13 lines
280 B
JavaScript

import Ember from 'ember';
import BaseComponent from './base-component';
export default BaseComponent.extend({
tagName: 'a',
attributeBindings: ['href', 'title'],
title: '刷新',
href: 'javascript:;',
click() {
this.get('route').refresh();
}
});