xiebaomin hace 1 año
padre
commit
5df09a206a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/views/Preview/index.vue

+ 1 - 0
src/views/Preview/index.vue

@@ -104,6 +104,7 @@ const statistical = useStatisticalTime((time) => {
   const t = Math.floor(time / 1000);
   console.log("时长为:", t, Math.floor(time / 1000));
   localStorage.setItem("spentTime", t.toString());
+  if (route.query.isSp) return
   const f = {
     productArchiveId: params.value.id,
     headUserId: params.value.suid,