gc_mobile 1.1.1 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
1
  <template>
2
2
  <view class="content">
3
- <view class="token">userInfo:{{ userInfo }}</view>
3
+ <view class="token">userInfo测试:{{ userInfo }}</view>
4
4
  <view class="token">token:{{ userInfo && userInfo.ucToken }}</view>
5
- <view
6
- class="token"
7
- @click="bind"
8
- >绑定</view
9
- >
10
- <view
5
+ <view
6
+ class="token"
7
+ @click="bind"
8
+ >绑定</view
9
+ >
10
+ <view
11
11
  class="token"
12
12
  @click="unBind"
13
13
  >解绑</view
@@ -30,15 +30,15 @@ export default {
30
30
  onLoad() {},
31
31
  methods: {
32
32
  async unBind() {
33
- const res = await this.userInfo.unBind();
34
- console.log("res",res)
35
- if(res){
36
- location.reload()
37
- }
38
- },
39
- async bind() {
40
- this.userInfo.bind();
41
- }
33
+ const res = await this.userInfo.unBind();
34
+ console.log("res", res);
35
+ if (res) {
36
+ location.reload();
37
+ }
38
+ },
39
+ async bind() {
40
+ this.userInfo.bind();
41
+ }
42
42
  }
43
43
  };
44
44
  </script>