vue error div bug fixed
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user