mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
fix(web): add missing CustomDialog import in ModelEditDialog
The component used the shorthand `components: { CustomDialog }` without a
matching import, so the shared webpack chunk threw
`ReferenceError: CustomDialog is not defined` at evaluation time.
vue-router then registered `undefined` as the ModelConfig view and the
models page rendered blank with no console error.
Fixes blank #/model-config page.
This commit is contained in:
parent
7898b88b3e
commit
232b43fa6b
1 changed files with 1 additions and 0 deletions
|
|
@ -94,6 +94,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Api from '@/apis/api';
|
import Api from '@/apis/api';
|
||||||
|
import CustomDialog from './CustomDialog.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "ModelEditDialog",
|
name: "ModelEditDialog",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue