Commit 999b1bd0 authored by chenqikuai's avatar chenqikuai

fix

parent 8edf95d5
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
}" }"
> >
<div class="c-dialog" v-if="visible"> <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 <div
v-for="item in propertyList" v-for="item in propertyList"
:key="item.id" :key="item.id"
...@@ -65,7 +65,7 @@ import { ...@@ -65,7 +65,7 @@ import {
syDialogInput as DialogInput, syDialogInput as DialogInput,
getUuid, getUuid,
syCommonDialog as CommonDialog, syCommonDialog as CommonDialog,
syScroll as Scroll, syScrollBar as Scroll,
syButton as Button, syButton as Button,
} from "cqk-sy-ui"; } from "cqk-sy-ui";
import { onMounted, ref } from "vue"; import { onMounted, ref } from "vue";
...@@ -85,7 +85,7 @@ interface Item { ...@@ -85,7 +85,7 @@ interface Item {
const propertyList = ref([] as Item[]); const propertyList = ref([] as Item[]);
const isErrorShowing = ref(false); const isErrorShowing = ref(false);
const scroll = ref<{ scrollToEnd: any } | null>(null); const scroll = ref<{ scrollTo: any } | null>(null);
const $emit = defineEmits(["confirm", "close"]); const $emit = defineEmits(["confirm", "close"]);
const props = defineProps<{ const props = defineProps<{
...@@ -121,7 +121,7 @@ const deleteTmpItem = (item: Item) => { ...@@ -121,7 +121,7 @@ const deleteTmpItem = (item: Item) => {
}; };
const scrollToEnd = () => { const scrollToEnd = () => {
scroll.value?.scrollToEnd(); scroll.value?.scrollTo(0, 10000);
}; };
const emitConfirm = () => { 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