import Ember from 'ember'; import BaseListRoute from './../base-list'; export default BaseListRoute.extend({ breadcrumbs: [{text: '客户列表'}], actions: { sort(col) { Ember.Logger.info('sort: ', col); } }, setupController(controller) { let me = this; me._super(...arguments); controller.set('tableOptions', { showId: true, showName: true, showAll: Ember.computed.and('showId', 'showName'), showAllChanged: Ember.observer('showAll', function() { console.log('show all changed: ', this); }) }); }, });