        } 
        
        return false
    }

    /**
     * 销毁对户框，将其从list里面移除
     * @memberOf Dialog
     */
    $destroy(){
        let data: { list: Dialog[]} = this._data as any
        data.list.splice(data.list.findIndex(dialog=> dialog.id === this.id), 1) 
        this._data = null