2020-03-09 08:00:03 +00:00
|
|
|
import ngModule from '../module';
|
|
|
|
import ModuleMain from 'salix/components/module-main';
|
|
|
|
|
|
|
|
export default class User extends ModuleMain {
|
|
|
|
constructor($element, $) {
|
|
|
|
super($element, $);
|
|
|
|
}
|
2024-08-12 12:06:02 +00:00
|
|
|
async $onInit() {
|
|
|
|
this.$state.go('home');
|
|
|
|
window.location.href = await this.vnApp.getUrl(`account/`);
|
2020-03-09 08:00:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ngModule.vnComponent('vnUser', {
|
|
|
|
controller: User,
|
|
|
|
template: require('./index.html')
|
|
|
|
});
|