文本框
This commit is contained in:
@ -257,7 +257,11 @@ async function syncData2(sdk, id, entityId) {
|
|||||||
if(target) {
|
if(target) {
|
||||||
await target.remove()
|
await target.remove()
|
||||||
}
|
}
|
||||||
target = await new obj.constructor(sdk2D, options)
|
let callback
|
||||||
|
if(obj.type === 'TextBox') {
|
||||||
|
callback = obj.callback
|
||||||
|
}
|
||||||
|
target = await new obj.constructor(sdk2D, options, callback)
|
||||||
target.onClick = obj.onClick
|
target.onClick = obj.onClick
|
||||||
target.onRightClick = obj.onRightClick
|
target.onRightClick = obj.onRightClick
|
||||||
target.onMouseMove = obj.onMouseMove
|
target.onMouseMove = obj.onMouseMove
|
||||||
|
Reference in New Issue
Block a user