update
This commit is contained in:
parent
1412fb5d09
commit
b661e8cc92
@ -445,7 +445,7 @@ export const defaultOpt = {
|
|||||||
minImgResizeWidth: 50,
|
minImgResizeWidth: 50,
|
||||||
minImgResizeHeight: 50,
|
minImgResizeHeight: 50,
|
||||||
// 最大允许缩放的尺寸依据主题的配置,即主题的imgMaxWidth和imgMaxHeight配置,如果设置为false,那么使用maxImgResizeWidth和maxImgResizeHeight选项
|
// 最大允许缩放的尺寸依据主题的配置,即主题的imgMaxWidth和imgMaxHeight配置,如果设置为false,那么使用maxImgResizeWidth和maxImgResizeHeight选项
|
||||||
maxImgResizeWidthInheritTheme: true,
|
maxImgResizeWidthInheritTheme: false,
|
||||||
// 最大允许缩放的尺寸,maxImgResizeWidthInheritTheme选项设置为false时生效,不限制最大值可传递Infinity
|
// 最大允许缩放的尺寸,maxImgResizeWidthInheritTheme选项设置为false时生效,不限制最大值可传递Infinity
|
||||||
maxImgResizeWidth: Infinity,
|
maxImgResizeWidth: Infinity,
|
||||||
maxImgResizeHeight: Infinity
|
maxImgResizeHeight: Infinity
|
||||||
|
|||||||
@ -83,6 +83,7 @@ class NodeImgAdjust {
|
|||||||
|
|
||||||
// 显示自定义元素
|
// 显示自定义元素
|
||||||
showHandleEl() {
|
showHandleEl() {
|
||||||
|
if (this.isShowHandleEl) return
|
||||||
if (!this.handleEl) {
|
if (!this.handleEl) {
|
||||||
this.createResizeBtnEl()
|
this.createResizeBtnEl()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user