yangc 7 жил өмнө
parent
commit
d6e3d7da92

+ 14 - 0
components/mobile/base/SelectAddress.vue

@@ -47,6 +47,20 @@
         }
       })
     },
+    watch: {
+      isShow: function (val) {
+        if (val) {
+          this.activeObj = {
+            // 省
+            province: -1,
+            // 市
+            city: -1,
+            // 区
+            area: -1
+          }
+        }
+      }
+    },
     computed: {
       currentType () {
         if (this.activeObj.area > -1) {