Skip to content

Commit e7c4978

Browse files
committedSep 22, 2020
fixed undo bug
1 parent 5164046 commit e7c4978

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
 

‎src/components/EditContact.vue

+1
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ export default {
212212
break;
213213
default:
214214
this.contact = JSON.parse(JSON.stringify(this.currentContact));
215+
this.previous = JSON.parse(JSON.stringify(this.currentContact));
215216
this.cname = this.contact.name;
216217
this.brief = this.contact.brief;
217218
this.additional = [...this.contact.additional];

‎src/views/Home.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ footer {
111111
#contect .flex1 {
112112
display: inline;
113113
width: 100%;
114-
width: -moz-available; /* WebKit-based browsers will ignore this. */
115-
width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
116-
width: fill-available;
114+
width: -moz-available; /* WebKit-based browsers will ignore this. */
115+
width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
116+
width: fill-available;
117117
justify-content: center;
118118
flex: 1;
119119
}

0 commit comments

Comments
 (0)
Please sign in to comment.