vue error div bug fixed

This commit is contained in:
hysn99
2024-04-04 19:34:32 +03:00
parent eb0bc4dcfc
commit 138f515754
2 changed files with 5 additions and 3 deletions

View File

@@ -68,7 +68,7 @@
</q-card-section>
<q-card-section>
<div style="max-height: 200px; overflow: scroll; border: 1px gray solid;" class="q-pa-xs">
<div style="max-height: 200px; overflow: scroll; border: 1px gray solid; display: grid;" class="q-pa-xs">
<span v-for="(ln, ndx) in ld.logProcess" :key="ndx">
{{ ndx }} {{ ln }}
</span>
@@ -102,7 +102,9 @@ onMounted(() => {
getCompanies()
wails.Events.On('logProcess', function (ev) {
console.log(ev.data)
ld.logProcess.push(ev.data)
console.log(ld.logProcess)
})
})
@@ -153,7 +155,8 @@ const upload = function () {
}
const doRpa = function () {
Rpa(ld.companyID, ld.month, ld.year).catch(err => console.log(err))
ld.logProcess = []
Rpa(ld.companyID, ld.month, ld.year).catch(err => console.log(err))
}
</script>