修复拼写错误。
parent
7f161f5c4f
commit
34f4e3104b
|
@ -115,7 +115,7 @@
|
||||||
exportJsonButton: true, //是否显示导出JSON器按钮
|
exportJsonButton: true, //是否显示导出JSON器按钮
|
||||||
exportCodeButton: true, //是否显示导出代码按钮
|
exportCodeButton: true, //是否显示导出代码按钮
|
||||||
generateSFCButton: true, //是否显示生成SFC按钮
|
generateSFCButton: true, //是否显示生成SFC按钮
|
||||||
toolBarMaxWidth: 420, //设计器工具按钮栏最大宽度(单位像素)
|
toolbarMaxWidth: 420, //设计器工具按钮栏最大宽度(单位像素)
|
||||||
|
|
||||||
presetCssCode: '', //设计器预设CSS样式代码
|
presetCssCode: '', //设计器预设CSS样式代码
|
||||||
}
|
}
|
||||||
|
|
|
@ -272,7 +272,7 @@
|
||||||
|
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
let maxTBWidth = this.designerConfig.toolBarMaxWidth
|
let maxTBWidth = this.designerConfig.toolbarMaxWidth
|
||||||
let newTBWidth = window.innerWidth - 260 - 300 - 320 - 80
|
let newTBWidth = window.innerWidth - 260 - 300 - 320 - 80
|
||||||
this.toolBarWidth = newTBWidth >= maxTBWidth ? maxTBWidth : (newTBWidth <= 300 ? 300 : newTBWidth)
|
this.toolBarWidth = newTBWidth >= maxTBWidth ? maxTBWidth : (newTBWidth <= 300 ? 300 : newTBWidth)
|
||||||
addWindowResizeHandler(() => {
|
addWindowResizeHandler(() => {
|
||||||
|
|
Loading…
Reference in New Issue