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. |
||
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| src | ||
| tests | ||
| .env | ||
| .env.development | ||
| .env.production | ||
| .npmrc | ||
| babel.config.js | ||
| jest.config.js | ||
| jsconfig.json | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| vitest.config.js | ||
| vue.config.js | ||
This document is a development document. If you need to deploy Xiaozhi server, click here to view deployment tutorial
xiaozhi
Project setup
For development, use a code editor and select the manager-web folder as the project directory when importing the project
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build