feat: 小问题样式优化

master
LCJ-MinYa 10 months ago
parent 84afbb6d75
commit 6c7ccbeb44

@ -63,7 +63,7 @@ const handleSend = () => {
controller.value = new AbortController(); controller.value = new AbortController();
const signal = controller.value.signal; const signal = controller.value.signal;
/** @microsoft/fetch-event-source该框架支持POST方法并且支持传参 */ /** @microsoft/fetch-event-source该框架支持POST方法并且支持传参 */
fetchEventSource('http://192.168.197.120:3000/events', { fetchEventSource('http://localhost:3000/events', {
method: 'POST', method: 'POST',
body: JSON.stringify({ body: JSON.stringify({
question: '你好,我是小雅,请问有什么可以帮助您?', question: '你好,我是小雅,请问有什么可以帮助您?',
@ -95,4 +95,10 @@ const handleSend = () => {
.wordbox::-webkit-scrollbar { .wordbox::-webkit-scrollbar {
display: none; /* 隐藏滚动条 */ display: none; /* 隐藏滚动条 */
} }
@media screen and (min-width: 768px) {
.wordbox {
width: 400px;
}
}
</style> </style>

@ -202,6 +202,6 @@ const exportImage = () => {
} }
.container { .container {
max-width: 1440px; max-width: 100%;
} }
</style> </style>

Loading…
Cancel
Save