guhongwei 2 yıl önce
ebeveyn
işleme
381e2f5fc3
1 değiştirilmiş dosya ile 11 ekleme ve 1 silme
  1. 11 1
      pages/index/index.vue

+ 11 - 1
pages/index/index.vue

@@ -10,7 +10,7 @@
 				<button size="mini" @click="toCommon('pages/my/index')">我的1</button>
 			</view>
 			<view class="two">
-
+				<button @click="toChange">地址选择</button>
 			</view>
 		</view>
 
@@ -53,6 +53,16 @@
 					}
 				});
 			},
+			// toChange() {
+			// 	uni.chooseLocation({
+			// 		success: function(res) {
+			// 			console.log(res);
+			// 		},
+			// 		fail: function(err) {
+			// 			console.log(err);
+			// 		}
+			// 	})
+			// }
 		}
 	}
 </script>