mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
优化
This commit is contained in:
parent
00b3ebeb2c
commit
f5af99fa61
@ -152,7 +152,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
// 设置高度
|
// 设置高度
|
||||||
function onHeight() {
|
function onHeight() {
|
||||||
const scroll = refs.editor.querySelector(".w-e-scroll");
|
const scroll = refs.editor.querySelector(".w-e-text-container");
|
||||||
scroll.style.maxHeight = parsePx(props.maxHeight || "auto");
|
scroll.style.maxHeight = parsePx(props.maxHeight || "auto");
|
||||||
scroll.style.height = parsePx(props.height);
|
scroll.style.height = parsePx(props.height);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user