fix: small text & long text height issue
This commit is contained in:
parent
a074476a29
commit
97fc172bb9
1 changed files with 7 additions and 4 deletions
|
|
@ -8,10 +8,13 @@ let store = useStore();
|
|||
let props = defineProps(["df", "value", "modelValue"]);
|
||||
let emit = defineEmits(["update:modelValue"]);
|
||||
let slots = useSlots();
|
||||
let height = "300px";
|
||||
if (props.df.fieldtype == "Small Text") {
|
||||
height = "150px";
|
||||
}
|
||||
|
||||
let height = computed(() => {
|
||||
if (props.df.fieldtype == "Small Text") {
|
||||
return "150px";
|
||||
}
|
||||
return "300px";
|
||||
});
|
||||
|
||||
let doctype = ref("");
|
||||
let fieldname = ref("");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue