mirror of
https://github.com/woodchen-ink/ChatGPT-Tailwind.git
synced 2025-07-18 14:02:00 +08:00
update
This commit is contained in:
parent
2c898d26ea
commit
01643253bc
@ -133,7 +133,7 @@
|
|||||||
<img src="https://cdn-img.czl.net/2023/08/10/64d3b992cf86e.png" />
|
<img src="https://cdn-img.czl.net/2023/08/10/64d3b992cf86e.png" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="chat-header">You</div><div class="chat-bubble chat-bubble-info">${message}</div><div>`);
|
<div class="chat-header">You</div><div class="prose chat-bubble chat-bubble-info">${message}</div><div>`);
|
||||||
userInput.val("");
|
userInput.val("");
|
||||||
sendButton.html('<span class="loading loading-infinity loading-lg"></span>');
|
sendButton.html('<span class="loading loading-infinity loading-lg"></span>');
|
||||||
sendButton.removeClass('btn-info').addClass('btn-error');
|
sendButton.removeClass('btn-info').addClass('btn-error');
|
||||||
@ -211,7 +211,7 @@
|
|||||||
<img src="https://cdn-img.czl.net/2023/08/10/64d3b8c9819c7.png" />
|
<img src="https://cdn-img.czl.net/2023/08/10/64d3b8c9819c7.png" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="chat-header">AI</div><div class="chat-bubble chat-bubble-error prose prose-slate">Error: ${response.error.message}</div><div>`);
|
<div class="chat-header">AI</div><div class="prose chat-bubble chat-bubble-error prose prose-slate">Error: ${response.error.message}</div><div>`);
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@ -222,7 +222,7 @@
|
|||||||
<img src="https://cdn-img.czl.net/2023/08/10/64d3b8c9819c7.png" />
|
<img src="https://cdn-img.czl.net/2023/08/10/64d3b8c9819c7.png" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="chat-header">AI</div><div class="chat-bubble chat-bubble-error prose prose-slate">Error: ${error.message}</div><div>`);
|
<div class="chat-header">AI</div><div class="prose chat-bubble chat-bubble-error prose prose-slate">Error: ${error.message}</div><div>`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -6,7 +6,7 @@ module.exports = {
|
|||||||
|
|
||||||
// add daisyUI plugin
|
// add daisyUI plugin
|
||||||
plugins: [
|
plugins: [
|
||||||
require("daisyui")
|
require("daisyui"),
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user