Browse Source

修改上传坐标文字回显

wangchao 3 năm trước cách đây
mục cha
commit
d19977e382
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      pages/grain_pulse/enter.vue

+ 5 - 0
pages/grain_pulse/enter.vue

@@ -196,6 +196,11 @@
 		},
 		onShow() {
 			var that = this
+			try {
+			    this.position = uni.getStorageSync('position');
+			} catch (e) {
+			    // error
+			}
 			uni.getStorage({
 				key: 'setPosition',
 				success: (res) => {