From c516ea051091a013183eda01f9db92171d3ad4e5 Mon Sep 17 00:00:00 2001
From: mullins <476823686@qq.com>
Date: Thu, 18 Jun 2020 19:58:46 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=9C=B0=E5=9D=80=E4=BF=AE?=
 =?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/pages/address/addressList.vue | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/pages/address/addressList.vue b/src/pages/address/addressList.vue
index 526a027..16a864a 100644
--- a/src/pages/address/addressList.vue
+++ b/src/pages/address/addressList.vue
@@ -107,12 +107,13 @@ export default {
       }
     },
     delAddress(addId) {
+      const that = this
       uni.showModal({
         title: '提示',
         content: '是否删除该条地址',
         success: function (res) {
           if (res.confirm) {
-            if (this.addressList.length > 1) {
+            if (that.addressList.length > 1) {
               store.dispatch('address/delete', {
                 add_id: addId,
               }).then(() => {
@@ -125,6 +126,7 @@ export default {
             } else {
               uni.showToast({
                 title: '请保留至少一条地址信息',
+                icon: 'none',
                 duration: 1000,
               })
             }
@@ -179,6 +181,7 @@ export default {
             font-size: 12px;
             color: #ffffff;
             letter-spacing: -0.23px;
+            line-height: 40rpx;
           }
         }
       }
-- 
2.0.0