update component preview on render
This commit is contained in:
parent
bc96d16e11
commit
5a6a77bd75
1 changed files with 3 additions and 0 deletions
|
|
@ -27,6 +27,9 @@ export default {
|
|||
randomSeed: genRandomSeed()
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
this.update()
|
||||
},
|
||||
computed: {
|
||||
hideControls () {
|
||||
return typeof this.shadow === 'string'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue