linxuxiang hai 5 meses
pai
achega
e055d11a37
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/views/sunshineRun/index.vue

+ 1 - 2
src/views/sunshineRun/index.vue

@@ -126,6 +126,7 @@ const confirmExit = async () => {
 };
 
 onBeforeMount(() => {
+  //获取当前时间
   setDate();
   //屏幕
   let screenData = localStorage.getItem("screen");
@@ -134,8 +135,6 @@ onBeforeMount(() => {
   } else {
     screen.value = true;
   }
-  //用户信息
-  userInfo.value = JSON.parse(myInfo);
   //单位
   unit.value = "米";
 })