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,6 +155,7 @@ const upload = function () {
}
const doRpa = function () {
ld.logProcess = []
Rpa(ld.companyID, ld.month, ld.year).catch(err => console.log(err))
}

View File

@@ -52,7 +52,6 @@ type userInfo struct {
}
func (s *Srv) Rpa(companyName string, month float64, year float64) error {
emitLog("")
type CompanyInfo struct {
company *company.Company // float64.Company türünü gömme
month float64 // yeni bir alan ekliyoruz