mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-20 17:22:47 +00:00
fixed some ui bugs
This commit is contained in:
parent
ea595d72c4
commit
12c1639d1a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
web/dist/index.html
vendored
4
web/dist/index.html
vendored
@ -6,8 +6,8 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>LoLLMS WebUI - Welcome</title>
|
||||
<script type="module" crossorigin src="/assets/index-81be3b6b.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-e60129f2.css">
|
||||
<script type="module" crossorigin src="/assets/index-6eb67e51.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-796f5f6d.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -220,7 +220,7 @@ export default {
|
||||
},2000)
|
||||
},
|
||||
refreshPage() {
|
||||
window.location.reload();
|
||||
window.location.href = "/";
|
||||
},
|
||||
handleOk(inputText) {
|
||||
console.log("Input text:", inputText);
|
||||
|
@ -3039,7 +3039,8 @@ export default {
|
||||
console.log('install_binding', res)
|
||||
if (res.data.status) {
|
||||
this.$store.state.toast.showToast("Binding installed successfully!", 4, true)
|
||||
this.$store.state.messageBox.showMessage("It is advised to reboot the application after installing a binding")
|
||||
this.$store.state.messageBox.showMessage("It is advised to reboot the application after installing a binding.\nPage will refresh in 5s.")
|
||||
setTimeout(()=>{window.location.href = "/"},5000) ;
|
||||
} else {
|
||||
this.$store.state.toast.showToast("Could not reinstall binding", 4, false)
|
||||
}
|
||||
@ -3195,7 +3196,7 @@ export default {
|
||||
this.$store.state.toast.showToast("Binding settings updated successfully!", 4, true)
|
||||
axios.get('/update_binding_settings').then((res) => {
|
||||
this.$store.state.toast.showToast("Binding settings committed successfully!", 4, true)
|
||||
window.location.reload();
|
||||
window.location.href = "/";
|
||||
})
|
||||
} else {
|
||||
this.$store.state.toast.showToast("Did not get binding settings responses.\n" + response, 4, false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user