mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-09-19 02:04:37 +08:00
3f9b61e93d96319700fdad99d1be5bc9a6b3c6d1
The component imports listRule/listNotify/listMessage/etc instead of the old getXxxList names, but the test's hoisted vi.mock map still declared the old function keys, so vitest auto-mock returned undefined for every list spy. Rename the mock keys and the alarmMocks references in expectations to match the renamed alarm.ts exports.
1. Prepare
gitVisual Studio Codenodejs>= 18, recommended to use 22pnpm, install usingcorepack enable && corepack prepare pnpm@latest --activate(ornpm install -g pnpm)
2. Source code
git clone https://github.com/pnoker/iot-dc3-web.git
3. Develop
cd iot-dc3-web
# install
pnpm install
# run
pnpm dev
Description
IoT DC3 是一个基于 Spring Cloud 的 100% 完全开源的、分布式的物联网(IoT)平台,用于快速开发物联网项目和管理物联设备,是一整套物联系统解决方案。
311 MiB
Languages
Java
75.7%
TypeScript
10.4%
Vue
8.3%
PLpgSQL
3.6%
JavaScript
0.9%
Other
1%