Pārlūkot izejas kodu

完成工单后不能物理返回

seimin 3 gadi atpakaļ
vecāks
revīzija
68c6b20fbd
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      pages/scanning_code/scanning_code.vue

+ 2 - 2
pages/scanning_code/scanning_code.vue

@@ -755,7 +755,7 @@ export default {
755 755
         };
756 756
         post("/workerOrder/finishSpes", data).then((res) => {
757 757
           if (res.status == 200) {
758
-            uni.navigateTo({
758
+            uni.reLaunch({
759 759
               url: "../receiptpage/receiptpage",
760 760
             });
761 761
           } else {
@@ -771,7 +771,7 @@ export default {
771 771
         ids.push(this.wcId);
772 772
         post("/workerOrder/finishSpeOrder", ids).then((res) => {
773 773
           if (res.status == 200) {
774
-            uni.navigateTo({
774
+            uni.reLaunch({
775 775
               url: "../receiptpage/receiptpage",
776 776
             });
777 777
           } else {