Yansen 2 years ago
parent
commit
38e771f91e
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/pages/index/index.vue

+ 2
- 0
src/pages/index/index.vue View File

41
       let markerAdded = false;
41
       let markerAdded = false;
42
       let drawing = false;
42
       let drawing = false;
43
       const mapCtx = ref();
43
       const mapCtx = ref();
44
+      const { user } = useModel('user');
44
       const { list, getList } = useModel('rank');
45
       const { list, getList } = useModel('rank');
45
 
46
 
46
       const addMarkers = () => {
47
       const addMarkers = () => {
95
       };
96
       };
96
 
97
 
97
       return {
98
       return {
99
+        user,
98
         toNav,
100
         toNav,
99
       }
101
       }
100
     }
102
     }