ai-chat-bot-interface 1.4.4 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/App.vue +2 -2
- package/src/components/OperateModule.vue +3 -1
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -329,7 +329,9 @@ const resizeTextarea = () => {
|
|
|
329
329
|
const handleFocus = () => {
|
|
330
330
|
nextTick(() => {
|
|
331
331
|
window.scrollTo({
|
|
332
|
-
top: Math.round(
|
|
332
|
+
top: Math.round(
|
|
333
|
+
0.7 * window.innerHeight + 0.5476 * window.innerWidth - 416.4,
|
|
334
|
+
), // 滚动到页面的总高度
|
|
333
335
|
behavior: 'smooth', // 平滑滚动效果
|
|
334
336
|
});
|
|
335
337
|
});
|