二三维增加单独展示在二维或者三维的功能,贴地图片增加设置锚点功能
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
class BaseDialog {
|
||||
constructor(container, options = {}) {
|
||||
constructor(container, options = {}, only = true) {
|
||||
this.container = container
|
||||
this.options = { ...options }
|
||||
this.options.ismove = true
|
||||
@ -9,10 +9,13 @@ class BaseDialog {
|
||||
this.closeCallBack = options.closeCallBack
|
||||
this._element = {}
|
||||
this._element_style = undefined
|
||||
this.only = only
|
||||
}
|
||||
|
||||
async init() {
|
||||
this.closeAll()
|
||||
if (this.only) {
|
||||
this.closeAll()
|
||||
}
|
||||
DialogAll.push(this)
|
||||
this.isDestroy = false
|
||||
// body
|
||||
|
Reference in New Issue
Block a user