wenhongquan 3 năm trước cách đây
mục cha
commit
9b62050c18
1 tập tin đã thay đổi với 6 bổ sung11 xóa
  1. 6 11
      src/views/HomePage/index.tsx

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

@@ -145,19 +145,14 @@ export default defineComponent({
           fixed
           placeholder={true}
           onClick-left={() => {
-             alert("-----------");
             try {
-              uni.navigateBack({
-                delta: 20,
-                fail: (error) => { 
-                  alert(JSON.stringify(error));
-                },
-                success: () => { 
-                  alert("success")
-                }
-              });
+              uni.navigateBack();
+              uni.navigateBack();
+              uni.navigateBack();
+              uni.navigateBack();
+              
             } catch (E) {
-               alert(JSON.stringify(E));
+              
             }
           }}
           // onClickRight={() =>