gaoluyang
3 天以前 2f58128ac3b1c025a32f64016328992bf9bf5b48
src/App.vue
@@ -1,8 +1,8 @@
<template>
  <Splash v-if="showSplash" />
  <div v-else>
  <view v-else>
    <router-view />
  </div>
  </view>
</template>
<script setup>
  import { ref, onMounted } from "vue";
@@ -16,8 +16,8 @@
      showSplash.value = false;
    }, 5000);
    // 初始化推送服务
    initPushService();
    // 初始化推送服务,暂时注释,客户需要打开
    // initPushService();
  });
  // 初始化推送服务(uni-push 1.0)
  const initPushService = () => {