bobo 3 år sedan
förälder
incheckning
c7e032d944
2 ändrade filer med 2 tillägg och 3 borttagningar
  1. 0 1
      components/topbar.js
  2. 2 2
      components/topbar.wxss

+ 0 - 1
components/topbar.js

@@ -45,7 +45,6 @@ Component({
                 })
                 return
             }
-            const url =getCurrentPages()[getCurrentPages().length-2].route
             wx.navigateBack({
                 delta: -1
             })

+ 2 - 2
components/topbar.wxss

@@ -8,8 +8,8 @@
 }
 
 .topbar .back {
-    width: 36rpx;
-    height: 36rpx;
+    width: 40rpx;
+    height: 40rpx;
     position: absolute;
     left: 0;
     top: 0;