|
|
@@ -1060,14 +1060,14 @@ export default {
|
|
|
|
|
|
this.defaultToolbars = toolbars
|
|
|
this.toolbars = toolbars.filter(b => {
|
|
|
- if (allowButtons.includes(b.button_type) && b.showOnH5 === 'Y') {
|
|
|
+ if (allowButtons.includes(b.button_type) && (b.showOnH5 === 'Y' || !b.showOnH5)) {
|
|
|
return b
|
|
|
}
|
|
|
})
|
|
|
|
|
|
this.defaultManages = manages
|
|
|
this.manages = manages.filter(b => {
|
|
|
- if (allowButtons.includes(b.button_type) && b.showOnH5 === 'Y') {
|
|
|
+ if (allowButtons.includes(b.button_type) && (b.showOnH5 === 'Y' || !b.showOnH5)) {
|
|
|
return b
|
|
|
}
|
|
|
})
|