diff --git a/src/class/playground.js b/src/class/playground.js index c008578d71..525d375a5a 100644 --- a/src/class/playground.js +++ b/src/class/playground.js @@ -64,13 +64,11 @@ Entry.Playground = class Playground { this.generateTabView(tabView); this.tabView_ = tabView; - if (!Entry.aiAssistantEnable) { - const tabButtonView = Entry.createElement('div', 'entryButtonTab') - .addClass('entryPlaygroundButtonTabWorkspace') - .appendTo(this.view_); - this.tabButtonView_ = tabButtonView; - this.createButtonTabView(tabButtonView); - } + const tabButtonView = Entry.createElement('div', 'entryButtonTab') + .addClass('entryPlaygroundButtonTabWorkspace') + .appendTo(this.view_); + this.tabButtonView_ = tabButtonView; + this.createButtonTabView(tabButtonView); const curtainView = Entry.createElement('div', 'entryCurtain') .addClass('entryPlaygroundCurtainWorkspace entryRemove') diff --git a/src/util/init.js b/src/util/init.js index 9e181f2d1d..33fe49b3f9 100644 --- a/src/util/init.js +++ b/src/util/init.js @@ -365,13 +365,11 @@ Entry.createDom = function (container, type) { this.sceneView = sceneView; this.scene.generateView(this.sceneView, type); - if (!Entry.aiAssistantEnable) { - const blockCountViewerView = Entry.createElement('div'); - blockCountViewerView.addClass('entryBlockCountView'); - topFloatingView.appendChild(blockCountViewerView); - this.blockCountViewerView = blockCountViewerView; - this.blockCountViewer.generateView(this.blockCountViewerView, type); - } + const blockCountViewerView = Entry.createElement('div'); + blockCountViewerView.addClass('entryBlockCountView'); + topFloatingView.appendChild(blockCountViewerView); + this.blockCountViewerView = blockCountViewerView; + this.blockCountViewer.generateView(this.blockCountViewerView, type); const stateManagerView = Entry.createElement('div'); this.sceneView.appendChild(stateManagerView);