This commit is contained in:
Saifeddine ALOUI 2023-11-18 00:11:52 +01:00
parent 43fbe0d931
commit d7e9bd1ccb
5 changed files with 18 additions and 5 deletions

File diff suppressed because one or more lines are too long

2
web/dist/index.html vendored
View File

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-aff40468.js"></script>
<script type="module" crossorigin src="/assets/index-918b6136.js"></script>
<link rel="stylesheet" href="/assets/index-056067ed.css">
</head>
<body>

View File

@ -302,12 +302,25 @@ export default {
this.show = true;
this.title = title || this.title
this.resolve = resolve;
console.log('show foam', this.controls_array)
console.log('show form', this.controls_array)
});
},
},
watch: {
controls_array: {
deep: true,
handler(newArray) {
newArray.forEach(item => {
if (item.type === 'int') {
item.value = parseInt(item.value);
} else if (item.type === 'float') {
item.value = parseFloat(item.value);
}
// Add more conditions for other types if needed
});
}
},
show() {
nextTick(() => {
feather.replace()

@ -1 +1 @@
Subproject commit 398c0d5dc4bf44aa01fb8096b3cca277e67dc1b7
Subproject commit 9ef76d37ffff83cfca593a8c9c92b05215ab24da

@ -1 +1 @@
Subproject commit 5e792e733cd8f0ab339afd743ff24e3bc28a7367
Subproject commit 16fc7015cffc57da8e3ed7b2c66ea95dc877dee7