Commit 999b1bd0 authored by chenqikuai's avatar chenqikuai

fix

parent 8edf95d5
......@@ -28,7 +28,7 @@
}"
>
<div class="c-dialog" v-if="visible">
<Scroll ref="scroll" class="max-h-80" type="normal">
<Scroll ref="scroll" max-height="320px" class="-mr-5 pr-5" type="normal">
<div
v-for="item in propertyList"
:key="item.id"
......@@ -65,7 +65,7 @@ import {
syDialogInput as DialogInput,
getUuid,
syCommonDialog as CommonDialog,
syScroll as Scroll,
syScrollBar as Scroll,
syButton as Button,
} from "cqk-sy-ui";
import { onMounted, ref } from "vue";
......@@ -85,7 +85,7 @@ interface Item {
const propertyList = ref([] as Item[]);
const isErrorShowing = ref(false);
const scroll = ref<{ scrollToEnd: any } | null>(null);
const scroll = ref<{ scrollTo: any } | null>(null);
const $emit = defineEmits(["confirm", "close"]);
const props = defineProps<{
......@@ -121,7 +121,7 @@ const deleteTmpItem = (item: Item) => {
};
const scrollToEnd = () => {
scroll.value?.scrollToEnd();
scroll.value?.scrollTo(0, 10000);
};
const emitConfirm = () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment