Yansen 2 years ago
parent
commit
d1e151aebd
1 changed files with 2 additions and 5 deletions
  1. 2
    5
      src/pages/index/index.jsx

+ 2
- 5
src/pages/index/index.jsx View File

@@ -56,7 +56,7 @@ export default (props) => {
56 56
         setDisabled(res.status === 1);
57 57
       })
58 58
     }
59
-  }, [id]);
59
+  }, [id, form]);
60 60
 
61 61
   // 分享页面
62 62
   Taro.useShareAppMessage(() => {
@@ -66,11 +66,8 @@ export default (props) => {
66 66
     }
67 67
   });
68 68
 
69
-  console.log(wx.getMenuButtonBoundingClientRect())
70
-  console.log(wx.getSystemInfoSync())
71
-
72 69
   return (
73
-    <Layout active={0} title="绑定设备">
70
+    <Layout title="绑定设备">
74 71
       {
75 72
         disabled && <NoticeBar text="车辆信息已入库, 禁止编辑" />
76 73
       }