|
@@ -388,17 +388,10 @@ export default {
|
|
}
|
|
}
|
|
]
|
|
]
|
|
this.setPos()
|
|
this.setPos()
|
|
- _this.ws.createCtrl(params).then(res => {
|
|
|
|
- this.customizeTree(tvListJson)
|
|
|
|
- }).catch(e => {
|
|
|
|
- console.log(e)
|
|
|
|
- })
|
|
|
|
- _this.ws.on('createCtrlResult', (res) => {
|
|
|
|
- this.customizeTree(tvListJson)
|
|
|
|
- _this.ws.on('createCtrlResult', (res) => {
|
|
|
|
- this.customizeTree(tvListJson)
|
|
|
|
- })
|
|
|
|
- })
|
|
|
|
|
|
+ this.customizeTree(tvListJson);
|
|
|
|
+ setTimeout(function () {
|
|
|
|
+ _this.ws.createCtrl(params);
|
|
|
|
+ }, 3000);
|
|
},
|
|
},
|
|
setPos() {
|
|
setPos() {
|
|
let target = document.getElementById(this.domId)
|
|
let target = document.getElementById(this.domId)
|