mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-17 14:04:47 +08:00
Demo:只读模式不隐藏AI侧边栏按钮
This commit is contained in:
@@ -52,7 +52,7 @@ export default {
|
||||
let list = sidebarTriggerList[this.$i18n.locale] || sidebarTriggerList.zh
|
||||
if (this.isReadonly) {
|
||||
list = list.filter(item => {
|
||||
return ['outline', 'shortcutKey'].includes(item.value)
|
||||
return ['outline', 'shortcutKey', 'ai'].includes(item.value)
|
||||
})
|
||||
}
|
||||
if (!this.enableAi) {
|
||||
|
||||
Reference in New Issue
Block a user