18 lines
396 B
JavaScript
18 lines
396 B
JavaScript
|
import ngModule from '../module';
|
||
|
import Section from 'salix/components/section';
|
||
|
|
||
|
export default class Controller extends Section {
|
||
|
onSubmit() {
|
||
|
this.$.watcher.submit()
|
||
|
.then(() => this.card.reload());
|
||
|
}
|
||
|
}
|
||
|
|
||
|
ngModule.component('vnUserBasicData', {
|
||
|
template: require('./index.html'),
|
||
|
controller: Controller,
|
||
|
require: {
|
||
|
card: '^vnUserCard'
|
||
|
}
|
||
|
});
|