refs #6067 feat(account_basicData): use vnUser/preview
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
3b90d7e5e5
commit
a78348f2de
|
@ -1,9 +1,11 @@
|
||||||
|
<mg-ajax path="VnUsers/{{post.params.id}}" options="vnPost"></mg-ajax>
|
||||||
<vn-watcher
|
<vn-watcher
|
||||||
vn-id="watcher"
|
vn-id="watcher"
|
||||||
url="VnUsers"
|
url="VnUsers/preview"
|
||||||
data="$ctrl.user"
|
data="$ctrl.user"
|
||||||
id-value="$ctrl.$params.id"
|
where="{id: $ctrl.$params.id}"
|
||||||
form="form">
|
form="form"
|
||||||
|
save="post">
|
||||||
</vn-watcher>
|
</vn-watcher>
|
||||||
<form
|
<form
|
||||||
name="form"
|
name="form"
|
||||||
|
|
|
@ -2,6 +2,13 @@ import ngModule from '../module';
|
||||||
import Section from 'salix/components/section';
|
import Section from 'salix/components/section';
|
||||||
|
|
||||||
export default class Controller extends Section {
|
export default class Controller extends Section {
|
||||||
|
set user(value) {
|
||||||
|
this._user = value;
|
||||||
|
console.log(value);
|
||||||
|
}
|
||||||
|
get user() {
|
||||||
|
return this._user;
|
||||||
|
}
|
||||||
$onInit() {
|
$onInit() {
|
||||||
if (this.$params.emailConfirmed)
|
if (this.$params.emailConfirmed)
|
||||||
this.vnApp.showSuccess(this.$t('Email verified successfully!'));
|
this.vnApp.showSuccess(this.$t('Email verified successfully!'));
|
||||||
|
|
Loading…
Reference in New Issue