Merge pull request 'fixing bug add address 8.12' (#165) from zhy into master

Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/165
This commit is contained in:
hansu 2020-08-12 16:02:22 +08:00
commit eb1dce5d6b

View File

@ -80,7 +80,6 @@ export default {
// 
confirmBtn() {
if(!this.debounce) return;
this.debounce = false;
this.info ? this.editAddress() : this.addAddress();
},
// chooseArea() {
@ -119,6 +118,7 @@ export default {
},
addAddress() {
if(!this.validateValue()) return false;
this.debounce = false;
this.$u.api.addressAdd({
area_id: this.area_id,
city_id: this.city_id,
@ -144,6 +144,7 @@ export default {
},
editAddress() {
if(!this.validateValue()) return false;
this.debounce = false;
this.$u.api.addressEdit({
address_id: this.info.address_id,
area_id: this.area_id,