Closed fenglm2021 closed 2 months ago
(fu-admin-py3.11.1) E:\workspacejx\python\fu-admin\web>pnpm dev
10:16:28
vite v2.9.5 dev server running at:
Network: https://192.168.1.3:8080/ 10:16:28 Local: https://localhost:8080/ 10:16:28 10:16:28 ready in 2793ms.
X [ERROR] No matching export in "src/views/fuadmin/system/account/account.api.ts" for import "getAllList"
script:E:/workspacejx/python/fu-admin/web/src/components/Form/src/components/UserSelect.vue?id=0:11:11: 11 │ import { getAllList } from "/@/views/fuadmin/system/account/account.api"; ╵ ~~~~~~~~~~
ERROR Build failed with 1 error: 10:16:29 script:E:/workspacejx/python/fu-admin/web/src/components/Form/src/components/UserSelect.vue?id=0:11:11: ERROR: No matching export in "src/views/fuadmin/system/account/account.api.ts" for import "getAllList"
看了一下,问题原因是:account.api.ts中的getAllList代码被注释了,注释解开执行pnpm dev运行不报错
(fu-admin-py3.11.1) E:\workspacejx\python\fu-admin\web>pnpm dev
vite v2.9.5 dev server running at:
X [ERROR] No matching export in "src/views/fuadmin/system/account/account.api.ts" for import "getAllList"
ERROR Build failed with 1 error: 10:16:29
script:E:/workspacejx/python/fu-admin/web/src/components/Form/src/components/UserSelect.vue?id=0:11:11: ERROR: No matching export in "src/views/fuadmin/system/account/account.api.ts" for import "getAllList"