panel: fix code replace error
This commit is contained in:
parent
0eb0fd6bfb
commit
e004f4c728
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ module.exports = class Panel extends _widgets_base {
|
|||
try {
|
||||
|
||||
var layout = this.getProp('layout').replace(/\$([0-9])+/g, (m)=>{
|
||||
return this.children[m.replace('$','')].abstract.this.getProp('id')
|
||||
return this.children[m.replace('$','')].abstract.getProp('id')
|
||||
})
|
||||
|
||||
this.layout = new autolayout.View({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue