try
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2022-11-16 15:29:02 +01:00
parent 080d6aedf4
commit 9405333c07
4 changed files with 5 additions and 10 deletions

View File

@ -15,6 +15,7 @@ export default class App extends Component {
get showLayout() {
let state = this.$state.current.name;
console.log(this.$state.current.name);
return state && !this.isLogin && !this.isRecover && !this.isReset;
}

View File

@ -1 +1,2 @@
HOLA
<ui-view>HOLA</ui-view>

View File

@ -2,13 +2,9 @@ import ngModule from '../../module';
import Component from 'core/lib/component';
import './style.scss';
export class OutLayout extends Component {
}
export class OutLayout extends Component {}
ngModule.vnComponent('vnOutLayout', {
template: require('./index.html'),
controller: OutLayout,
require: {
app: '^vnApp'
}
controller: OutLayout
});

View File

@ -9,10 +9,7 @@ function config($stateProvider, $urlRouterProvider) {
.state('login', {
url: '/login?continue',
description: 'Login',
component: '<vn-out-layout></vn-out-layout>',
views: {
'login': {template: '<vn-login></vn-login>'},
}
component: '<vn-out-layout></vn-out-layout>'
})
.state('login.recover-password', {
url: '/recover-password',