wenhongquan %!s(int64=3) %!d(string=hai) anos
pai
achega
d40a12f116
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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) {}
           }}