mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
ModelEditDialog.vue had two dialogVisible handlers inside its watch block (leftover from the 2026-10-11 rebase merge). The later, trivial one ($emit only) clobbered the earlier one that also called loadModelData()/resetForm(), so opening the model edit dialog never fetched or populated the config. Collapsing them restores population. Upgrading integrity-check.js to parse the export-default object and its watch/computed/methods/data maps for duplicate keys surfaced two more from the same merge: - home.vue: a dead handleSearch(regex) clobbered the live handleSearch (which reads this.search and hits Api.agent.searchAgent). HeaderBar no longer emits @search, so the old regex variant was unreachable. - KnowledgeBaseManagement.vue: a second formatFileSize shadowed the first; keeping upstream's (which the template's file.size uses). integrity-check.js now catches nested duplicate option keys, not just top-level ones. Full rebase gate green. |
||
|---|---|---|
| .. | ||
| check-i18n.js | ||
| integrity-check.js | ||