You need to sign in or sign up before continuing.
提交 c40f6896 编写于 作者: D DebugIsFalse

Update [id].vue

上级 aff6934f
...@@ -83,7 +83,6 @@ function handleUpdateQuery(query) { ...@@ -83,7 +83,6 @@ function handleUpdateQuery(query) {
const isAutoToBottom = ref(true) const isAutoToBottom = ref(true)
watch( () => directions.top, watch( () => directions.top,
() => { () => {
console.log('directions.top:', directions.top)
if (directions.top) { if (directions.top) {
isAutoToBottom.value = false isAutoToBottom.value = false
} }
...@@ -95,7 +94,6 @@ const scrollToView = () => { ...@@ -95,7 +94,6 @@ const scrollToView = () => {
if (!$target) return; if (!$target) return;
const height = $target.clientHeight const height = $target.clientHeight
y.value = height y.value = height
console.log(`isAutoToBottom.value:`, isAutoToBottom.value, y.value, height)
} }
const handleReGenerate = () => { const handleReGenerate = () => {
const { question } = askingData.value const { question } = askingData.value
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册