This commit is contained in:
Luiz Silva 2026-05-22 11:46:38 -03:00
parent 47b4d3c102
commit 7dc071373a
4 changed files with 454 additions and 451 deletions

797
dist/eli-vue.es.js vendored

File diff suppressed because one or more lines are too long

28
dist/eli-vue.umd.js vendored

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{ {
"name": "eli-vue", "name": "eli-vue",
"version": "0.1.127", "version": "0.1.128",
"private": false, "private": false,
"main": "./dist/eli-vue.umd.js", "main": "./dist/eli-vue.umd.js",
"module": "./dist/eli-vue.es.js", "module": "./dist/eli-vue.es.js",

View file

@ -631,6 +631,8 @@ export default defineComponent({
const idCarregamento = ++carregamentoSequencial const idCarregamento = ++carregamentoSequencial
carregando.value = true carregando.value = true
erro.value = null erro.value = null
try {
acoesVisiveis.value = [] acoesVisiveis.value = []
menuAberto.value = null menuAberto.value = null
linhasExpandidas.value = {} linhasExpandidas.value = {}
@ -670,7 +672,6 @@ export default defineComponent({
console.log("[EliTabela] consulta(parametros)", parametrosConsulta) console.log("[EliTabela] consulta(parametros)", parametrosConsulta)
} }
try {
const tabelaConfig = props.tabela const tabelaConfig = props.tabela
const res = await tabelaConfig.consulta(parametrosConsulta) const res = await tabelaConfig.consulta(parametrosConsulta)
@ -735,6 +736,7 @@ export default defineComponent({
acoesVisiveis.value = visibilidade acoesVisiveis.value = visibilidade
} }
} catch (e) { } catch (e) {
console.error("[EliTabela] Erro capturado em carregar():", e)
if (idCarregamento !== carregamentoSequencial) return if (idCarregamento !== carregamentoSequencial) return
linhas.value = [] linhas.value = []