style:弹窗修改
Showing
2 changed files
with
4 additions
and
4 deletions
| ... | @@ -54,9 +54,9 @@ | ... | @@ -54,9 +54,9 @@ |
| 54 | }, | 54 | }, |
| 55 | watch: { | 55 | watch: { |
| 56 | isShow (newValue) { | 56 | isShow (newValue) { |
| 57 | this.editItem = this.loadViewFn(this.editItem) | ||
| 58 | document.body.appendChild(this.$el); | ||
| 59 | this.$nextTick(() => { | 57 | this.$nextTick(() => { |
| 58 | this.editItem = this.loadViewFn(this.editItem) | ||
| 59 | document.body.appendChild(this.$el); | ||
| 60 | this.myShow = newValue | 60 | this.myShow = newValue |
| 61 | }) | 61 | }) |
| 62 | } | 62 | } | ... | ... |
| ... | @@ -53,9 +53,9 @@ | ... | @@ -53,9 +53,9 @@ |
| 53 | }, | 53 | }, |
| 54 | watch: { | 54 | watch: { |
| 55 | isShow (newValue) { | 55 | isShow (newValue) { |
| 56 | this.editItem = this.loadViewFn(this.editItem) | ||
| 57 | document.body.appendChild(this.$el); | ||
| 58 | this.$nextTick(() => { | 56 | this.$nextTick(() => { |
| 57 | this.editItem = this.loadViewFn(this.editItem) | ||
| 58 | document.body.appendChild(this.$el); | ||
| 59 | this.myShow = newValue | 59 | this.myShow = newValue |
| 60 | }) | 60 | }) |
| 61 | } | 61 | } | ... | ... |
-
Please register or sign in to post a comment