minWatcher in tags
This commit is contained in:
parent
e048402223
commit
687b011f9a
|
@ -210,7 +210,8 @@ export default class Watcher extends Component {
|
|||
|
||||
onConfirmResponse(response) {
|
||||
if (response === 'ACCEPT') {
|
||||
Object.assign(this.data, this.orgData);
|
||||
if (this.data)
|
||||
Object.assign(this.data, this.orgData);
|
||||
this.$state.go(this.state);
|
||||
} else {
|
||||
this.state = null;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<vn-watcher
|
||||
vn-id="watcher"
|
||||
data="$ctrl.item"
|
||||
form = "form">
|
||||
</vn-watcher>
|
||||
<form name="form" ng-submit="$ctrl.submit()">
|
||||
|
|
Loading…
Reference in New Issue