Showing
1 changed file
with
6 additions
and
2 deletions
| @@ -103,8 +103,9 @@ Page({ | @@ -103,8 +103,9 @@ Page({ | ||
| 103 | }) | 103 | }) |
| 104 | if(this.reserve_id>0){ | 104 | if(this.reserve_id>0){ |
| 105 | this.initModify(this.reserve_id); | 105 | this.initModify(this.reserve_id); |
| 106 | + }else{ | ||
| 107 | + this.getTables(); | ||
| 106 | } | 108 | } |
| 107 | - this.getTables(); | ||
| 108 | }, | 109 | }, |
| 109 | /** | 110 | /** |
| 110 | * | 111 | * |
| @@ -550,7 +551,10 @@ Page({ | @@ -550,7 +551,10 @@ Page({ | ||
| 550 | //tablesed:tablesed, | 551 | //tablesed:tablesed, |
| 551 | hasUseDefDtime:false, | 552 | hasUseDefDtime:false, |
| 552 | }) | 553 | }) |
| 553 | - this.getTables(); | 554 | + setTimeout(()=>{ |
| 555 | + this.getTables(); | ||
| 556 | + },300) | ||
| 557 | + | ||
| 554 | }catch (e){ | 558 | }catch (e){ |
| 555 | console.log('initModify',e) | 559 | console.log('initModify',e) |
| 556 | } | 560 | } |
-
Please register or login to post a comment