Procházet zdrojové kódy

返回排名问题

wuhb před 4 měsíci
rodič
revize
7ed523d7bd
2 změnil soubory, kde provedl 2 přidání a 3 odebrání
  1. 1 2
      pages/index/index.uvue
  2. 1 1
      pages/splash/index.uvue

+ 1 - 2
pages/index/index.uvue

@@ -127,7 +127,7 @@
 
 <script setup lang="uts">
     import { ref, onMounted, reactive } from 'vue'
-    import { getUserInfo } from '../../utils/storage'
+    import { getUserInfo,checkPermi } from '../../utils/storage'
     import FlowChart from '../../components/index/flow-chart/flow-chart.uvue'
     import { getOrderList, almostOverdueList, overdueList, pendingList } from '../../api/order/list'
     import { listMyRate } from '../../api/score/index'
@@ -138,7 +138,6 @@
 	import { getBaseUrl } from '../../utils/request'
 	import { KeepLive } from '@/uni_modules/android-keeplive'
 	import { getMyNotify, registerServer} from '../../api/index/index'
-	import {checkPermi} from '../../utils/storage'
 	// const handleStartKeepAlive = (userId: string) => {
 	// 	let notifyUrl = getBaseUrl() + "/mobile/notify";
 	// 	console.log("通知地址:" + notifyUrl)

+ 1 - 1
pages/splash/index.uvue

@@ -110,7 +110,7 @@ export default {
 	  
 	  hasRedirected = true;
 	  // 跳转到主页
-	  uni.navigateTo({
+	  uni.redirectTo({
 	    url: '/pages/index/index'
 	  });
 	};