wenhongquan 3 년 전
부모
커밋
d40a12f116
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      src/views/HomePage/index.tsx

+ 6 - 0
src/views/HomePage/index.tsx

@@ -148,6 +148,12 @@ export default defineComponent({
             try {
               uni.navigateBack({
                 delta: 20,
+                fail: (error) => { 
+                  alert(JSON.stringify(error));
+                },
+                success: () => { 
+                  alert("success")
+                }
               });
             } catch (E) {}
           }}