提交 94ef6534 编写于 作者: D DebugIsFalse

Update [id].vue

上级 53746db3
...@@ -76,7 +76,7 @@ function handleUpdateQuery(query) { ...@@ -76,7 +76,7 @@ function handleUpdateQuery(query) {
} }
// 是否停止自动滚动到底部 // 是否停止自动滚动到底部
const isAutoToBottom = ref(true) const isAutoToBottom = ref(true)
watch(() => { watchEffect(() => {
if (directions.top) { if (directions.top) {
isAutoToBottom.value = false isAutoToBottom.value = false
} }
...@@ -145,7 +145,7 @@ const handleFormFetchData = (fetchData) => { ...@@ -145,7 +145,7 @@ const handleFormFetchData = (fetchData) => {
if (Object.keys(message).length === 0) return if (Object.keys(message).length === 0) return
const { meta, choices } = message const { meta, choices } = message
const index = editIndex.value const index = editIndex.value
nextTick(() => { setTimeout(() => {
scrollToView() scrollToView()
}) })
// 处理报错信息 // 处理报错信息
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册