ai-chat-bot-interface 1.0.7 → 1.0.8
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/ChatUi.vue +5 -5
package/package.json
CHANGED
package/src/ChatUi.vue
CHANGED
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
<img class="avatar" :src="avatar" alt="avatar">
|
|
62
62
|
</div>
|
|
63
63
|
</template>
|
|
64
|
-
<div ref="endTarget" style="height: 100px;"
|
|
64
|
+
<!-- <div ref="endTarget" style="height: 100px;"/>-->
|
|
65
65
|
</div>
|
|
66
66
|
<div class="cui_operate">
|
|
67
67
|
<button class="btn" @click.stop="createConv">
|
|
@@ -135,7 +135,7 @@ const props = defineProps({
|
|
|
135
135
|
|
|
136
136
|
const Emits = defineEmits(['call']);
|
|
137
137
|
|
|
138
|
-
const endTarget = ref(null);
|
|
138
|
+
// const endTarget = ref(null);
|
|
139
139
|
const inputText = ref('');
|
|
140
140
|
const botInfo = ref({});
|
|
141
141
|
|
|
@@ -400,9 +400,9 @@ const handleCardTap = ({type}) => {
|
|
|
400
400
|
};
|
|
401
401
|
|
|
402
402
|
const scrollToEnd = () => {
|
|
403
|
-
nextTick(() => {
|
|
404
|
-
|
|
405
|
-
});
|
|
403
|
+
// nextTick(() => {
|
|
404
|
+
// endTarget.value.scrollIntoView();
|
|
405
|
+
// });
|
|
406
406
|
};
|
|
407
407
|
</script>
|
|
408
408
|
|