wangxy пре 14 часа
родитељ
комит
5664681cb3
2 измењених фајлова са 8 додато и 8 уклоњено
  1. 4 4
      pages/Login/clientIndex.vue
  2. 4 4
      pages/Login/test.vue

+ 4 - 4
pages/Login/clientIndex.vue

@@ -177,11 +177,11 @@
 	function gotoPage() {
 		console.log('ididid', id.value);
 		if (id.value) {
-			uni.navigateTo({
+			uni.redirectTo({
 				url: `/pages/client/hetong/hetongInfo?id=` + id.value + `&from=${fromPage.value}`
 			})
 		} else {
-			uni.navigateTo({
+			uni.redirectTo({
 				url: `/pages/client/ShouYe/shouye`
 			})
 		}
@@ -190,11 +190,11 @@
 	function gotoPage2() {
 		console.log('ididid222222', id.value);
 		if (id.value) {
-			uni.navigateTo({
+			uni.redirectTo({
 				url: `/pages/kehu/hetong/hetongInfo?id=` + id.value + `&from=${fromPage.value}`
 			})
 		} else {
-			uni.navigateTo({
+			uni.redirectTo({
 				url: `/pages/kehu/shouYe/shouye`
 			})
 		}

+ 4 - 4
pages/Login/test.vue

@@ -203,11 +203,11 @@
 
   function gotoPage() {
     if (id.value) {
-      uni.navigateTo({
+      uni.redirectTo({
         url: `/pages/client/hetong/hetongInfo?id=` + id.value + `&from=${fromPage.value}`
       })
     } else {
-      uni.navigateTo({
+      uni.redirectTo({
         url: `/pages/client/ShouYe/shouye`
       })
     }
@@ -215,11 +215,11 @@
 
   function gotoPage2() {
     if (id.value) {
-      uni.navigateTo({
+      uni.redirectTo({
         url: `/pages/kehu/hetong/hetongInfo?id=` + id.value + `&from=${fromPage.value}`
       })
     } else {
-      uni.navigateTo({
+      uni.redirectTo({
         url: `/pages/kehu/shouye/shouye`
       })
     }