xujing 5 年前
父节点
当前提交
71795f6162
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      src/pages/checkin/index.js

+ 2
- 1
src/pages/checkin/index.js 查看文件

@@ -20,7 +20,8 @@ export default class checkin extends Component {
20 20
     data: {},
21 21
   }
22 22
 
23
-  componentWillMount() {
23
+  componentDidShow() {
24
+  // componentWillMount() {
24 25
     ready.queue(() => {
25 26
 
26 27
       const id = this.$router.params.id